Documentation » Configuration » Preferences Dialog » Editors »

Editor Preferences Dialog

You will see Editor Preferences dialog when you want to add or edit editor from Editors page of Preferences dialog.

Advertisement

Learn how to configure some popular editors.

Editor Type

Select if you want to use internal editor, external editor or application associated with file type in Windows File Explorer.1

When you want to use external editor, you need to specify local path to its executable. Use Browse button to locate the executable. When typing path manually do not forget to add quotes around path containing spaces. If you need you may specify a command-line parameters for your editor. Use pattern !.! to specify where should WinSCP place name of the file to edit (quotes around filename containing spaces are added automatically).

Use button Use default system editor to make WinSCP detect editor associated with text files (.txt).

Editor Autoselection

If you want use different editors for different file-types, specify file mask matching file(s) (or file-types) to be associated with the particular editor. The first editor, whose autoselection mask matches name of edited file, will be used. The order of editors is defined on Editors page of Preferences dialog.

External Editor Options

The External editor opens each file in separate window (process) checkbox disables special behavior needed to support editors that open multiple files in one window.

Advertisement

The Force text transfer mode for files edited in external editor checkbox forces text transfer mode for transfers to/from external editor. When unchecked the configured transfer mode will be used (binary by default). You typically need to use the option only when the server does not support format of text files used by the server. Most modern text editors support all common formats of text file. A notable exception is Windows Notepad until Windows 10 1809. Learn more about editing binary files in an external editor. Note that text mode is always forced for an internal editor.

Options for internal editor are global (configured on Internal Editor page of Preferences dialog).

  1. The Associated application option is useful if you want to override default association for certain types. Make sure Edit is default operation for double-click, configure your exceptional editors and set catch-all (*.*) fallback rule with Associated application.Back

Last modified: by 74.113.189.218