This is an old revision of the document!
Integration with Text Editors
You can configure WinSCP to use your favorite text editor for editing files.
See below for details on some popular editors.
If your have your favorite editor associated with text files in Windows, you can have WinSCP autodetect the editor, to avoid manually configuring it. See Use default system editor button on Editor preferences dialog.
Advertisement
- Sublime Text
- Hidemaru
- Sakura
- UltraEdit
- PSPad
- EditPlus
- EmEditor
- Adobe Dreamweaver
- TextPad
- Notepad++
- gVim
Sublime Text
Command to specify on Editor preferences dialog:
Sublime Text 2:
"C:\Program Files\Sublime Text 2\sublime_text.exe" !.!
Sublime Text 3:
"C:\Program Files\Sublime Text 3\sublime_text.exe" !.!
Advertisement
Hidemaru
Command to specify on Editor preferences dialog:
"C:\Program Files (x86)\Hidemaru\Hidemaru.exe" !.!
Replace C:\Program Files (x86) with C:\Program Files on 32-bit systems.
Sakura
Command to specify on Editor preferences dialog:
"C:\Program Files (x86)\sakura\sakura.exe" !.!
Replace C:\Program Files (x86) with C:\Program Files on 32-bit systems.
UltraEdit
Command to specify on Editor preferences dialog:
"C:\Program Files\IDM Computer Solutions\UltraEdit\Uedit64.exe" !.!
Replace Uedit64.exe with Uedit32.exe on 32-bit systems.
If you want WinSCP to open a separate editor for every edited file, in UltraEdit, go to Advanced > Configuration > General > General Application Items > Allow multiple instances.
PSPad
Command to specify on Editor preferences dialog:
"C:\Program Files (x86)\PSPad editor\PSPad.exe" !.!
Replace C:\Program Files (x86) with C:\Program Files on 32-bit systems.
Advertisement
If you want WinSCP to open a separate editor for every edited file, in PSPad, go to Settings > Program Settings > System Integration > Only One Program Instance.
EditPlus
Command to specify on Editor preferences dialog:
"C:\Program Files\EditPlus 3\editplus.exe" !.!
If you want WinSCP to open multiple files in the same EditPlus instance, add a -e flag to tell EditPlus to use an existing instance, if it’s already running:
"C:\Program Files\EditPlus 3\editplus.exe" -e !.!
EmEditor
Command to specify on Editor preferences dialog:
"C:\Program Files\EmEditor\EmEditor.exe" !.!
Adobe Dreamweaver
Command to specify on Editor preferences dialog:
"C:\Program Files\Adobe\Adobe Dreamweaver CC 2014.1\Dreamweaver.exe" !.!
The path above is for Adobe Dreamweaver CC 2014.1 and will change with version.
Adobe Dreamweaver does not preserve end-of-line characters when saving a file. You can either:
- Enable editor option Force text transfer mode for files edited in external editor or
- Configure Dreamweaver to use end-of-line characters you want to use by going to Edit > Preferences > Code Format > Line break type.
TextPad
Command to specify on Editor preferences dialog:
"C:\Program Files\TextPad 7\TextPad.exe" !.!
Advertisement
Note that the path above is for TextPad 7 and will change with version.
If you want WinSCP to open a separate editor for every edited file, in TextPad, go to Configure > Preferences > General > Allow Multiple Instances to Run.
Notepad++
Command to specify on Editor preferences dialog:
"C:\Program Files (x86)\Notepad++\notepad++.exe" !.!
Replace C:\Program Files (x86) with C:\Program Files on 32-bit systems.
If you want WinSCP to open a separate editor for every edited file, in Notepad++, go to Settings > Preferences > Multi-Instance > Always in multi-instance mode. To change the behavior for instance opened from WinSCP only, use Notepad++ command-line switch -multiInst.
gVim
Command to specify on Editor preferences dialog:
"C:\Program Files\Vim\vim74\gvim.exe" !.!
Note that the path above is for gVim 7.4 and will change with version.
If you want WinSCP to open a separate editor for every edited file, use gVim command-line switch --remote-tab-silent.