liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 256 forks source link

vscode Predefined variables doesn't work in sftp.json #506

Open esemlabel opened 5 years ago

esemlabel commented 5 years ago

Do you read the FAQ?

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:

  1. Open workspace folder.
  2. Run command 'SFTP: Config'.
  3. Set "remotePath" with one of vscode's predefined variables, for ex.: "remotePath": /out/${workspaceFolderBasename}.
  4. 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):

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.

rigiddesign commented 2 years ago

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?

aarbelle commented 1 year ago

Is there any plan on implementing this??