vscode-sftp
vscode-sftp copied to clipboard
vscode Predefined variables doesn't work in sftp.json
Do you read the FAQ?
- [x] Yes.
Describe the bug
sftp.json file doesn't properly converts vscode predefined variables and uses as it looks instead of converting it to corresponding values.
To Reproduce Steps to reproduce the behavior:
- Open workspace folder.
- Run command 'SFTP: Config'.
- Set "remotePath" with one of vscode's predefined variables, for ex.:
"remotePath": /out/${workspaceFolderBasename}. - Run 'SFTP: Sync Local -> Remote'.
Expected behavior
I expected to get synced files in /out/my-workspace-folder-name/, but files get synced in /out/${workspaceFolderBasename} instead.
Desktop (please complete the following information):
- OS: OS X 10.11.6
- VSCode Version 1.32.3
- Extension Version 1.11.1
Extension Logs from Startup - required My log contains sensitive personal information, so I can't paste it here. But you can easy reproduce problem with few clicks.
Oh wow, so this doesn't work?! I have been trying all sorts of variables and I thought I was doing it wrong.
Has this never been implemented?
Is there any plan on implementing this??