Home > Blockchain >  VS Code opens "VS" and "code" window every time I open a file from WinSCP
VS Code opens "VS" and "code" window every time I open a file from WinSCP

Time:03-01

How can I disable the option not to open VS and Code tabs every time I open a file in VS Code?

It only occur when I open from WinSCP a file on a remote server.

image

CodePudding user response:

Check your WinSCP external editor preferences.

The command should be:

"%LOCALAPPDATA%\Programs\Microsoft VS Code\Code.exe" !.!

Nothing more. Nothing less.

See https://winscp.net/eng/docs/integration_editor#vscode

  • Related