I integrate with SFTP + (CTRL +S) Keyboard Shortcut -> SFTP Upload Active file.
It only works if you press twice (CTRL +S).
It seems first time press (CTRL +S) opens the connection e the second time upload the file.
Expected behavior
I Expect press one time to upload the file.
When SFTP works without remote fs this behavior doesn't happens.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
I tried with Windows and Linux and the same problem.
OS: [Win 10 , Linux- PopOS! 20.10]
VSCode Version [1.55]
Extension Version [0.0.16]
Extension Logs - required
You can get the logs from View > Output > remote-fs.
[04-08 09:41:13] [info] Using profile: DEV
[04-08 09:41:16] [info] Using profile: DEV
[04-08 09:41:20] [info] Using profile: DEV
[04-08 09:41:24] [info] Using profile: DEV
[04-08 09:41:27] [info] Using profile: DEV
[04-08 09:41:32] [info] Using profile: DEV
[04-08 09:41:35] [info] Using profile: DEV
Describe the bug
I integrate with SFTP + (CTRL +S) Keyboard Shortcut -> SFTP Upload Active file. It only works if you press twice (CTRL +S). It seems first time press (CTRL +S) opens the connection e the second time upload the file.
To Reproduce Steps to reproduce the behavior:
Configure your remote-fs "DEV": { "host": "Your HOST", "protocol": "sftp", "port": 22, "username": "username", "privateKeyPath": "/path/to/key.pem", "uploadOnSave": false, "ignore": [".vscode", ".git", ".DS_Store", ".idea"], "connectTimeout" : 20000 },
Configure your SFTP Config
{ "profiles": { "DEV": { "remote": "DEV", "remotePath": "/path/destination" } }, "defaultProfile": "DEV" }
Expected behavior I Expect press one time to upload the file. When SFTP works without remote fs this behavior doesn't happens.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information): I tried with Windows and Linux and the same problem.
Extension Logs - required You can get the logs from View > Output > remote-fs.
[04-08 09:41:13] [info] Using profile: DEV [04-08 09:41:16] [info] Using profile: DEV [04-08 09:41:20] [info] Using profile: DEV [04-08 09:41:24] [info] Using profile: DEV [04-08 09:41:27] [info] Using profile: DEV [04-08 09:41:32] [info] Using profile: DEV [04-08 09:41:35] [info] Using profile: DEV