Open vonsluzbov opened 1 year ago
Are you referring to a scenario as described here https://code.visualstudio.com/docs/remote/ssh? The error would mean: File "C:\Program Files\Notepad++\notepad++.exe" not found likely from the perspective of the remote server.
Yes, exactly, this is the scenario. Shoudn't the vscode look for the notepad in a given directory ?
The extension runs on the remote server and starting Notepad++ there is likely not of much use because you would want to start it on your VSC GUI Windows system with accessing the remote files in a way as described here NppFTP - SSH.
The path to the Notepad++ -executable can be set in the settings of the extension as potentially e.g. C:\Program Files (x86) was also a viable location in the past. In the remote SSH-scenario I am not sure whether the root cause of the error ENOENT = FileNotFound couldn't also come from missing file access permissions.
I have VSC GUI running under Windows, but working via Remote SSH. When I tried to use th extention (either via Ctrl+K Ctrl+N, or context menu) I got:
Notepad++ execution failed due to error: "spawn C:\Program Files\Notepad++\notepad++.exe ENOENT"
I tried to setup executable path both for remote and local - it didn't help.