How to add Visual Studio Code editor as a default editor in WinSCP, when edit/view files.
Asked
Active
Viewed 4,319 times
2 Answers
4
In WinSCP:
- Go to Options > Preferences;
- Go to Editors tab;
- Click Add button;
On Add Editor dialog, browse for
code.exe
of your Visual Studio Code installation. By default that should be:C:\Users\username\AppData\Local\Programs\Microsoft VS Code\Code.exe
- Move the added editor entry to the top using Up button.

Martin Prikryl
- 188,800
- 56
- 490
- 992
-1
VS Code opens "VS" and "code" window every time I open a file from WinSCP
In WinSCP:
Go to Options > Preferences; Go to Editors tab;
"%LOCALAPPDATA%\Programs\Microsoft VS Code\Code.exe" !.!

Vanderson Andrade
- 184
- 3
- 4
-
Well, that's what my answer says already. – Martin Prikryl Jul 15 '22 at 05:18