suntobright / vscode-sftp

Edit remote Linux files directly in VS Code.
MIT License
14 stars 6 forks source link

Failing to read nonexistent file on remote server #20

Open ghost opened 4 years ago

ghost commented 4 years ago

The plugin is great and works like a charm. What I'm reporting is a little bug I've encountered in my daily development.

The extension is looking for a file that doesn't exist on the remote server.

Reading file user@[ip-address]:22:/home/user/[project_dir]/.vscode/launch.json failed, Error: No such file

It appears in a toast in VSCode which needs to be dismissed and pops up three times in a row upon initialization. When closing the toasts, they don't open again unless I close VSCode and re-open the project.

mogami95 commented 4 years ago

I got the same problem as well. I just created three empty files with the dedicated names so the pops up quickly disappear after the restart of vscode.

Please let me know if anyone has a better solution