vscode-sftp icon indicating copy to clipboard operation
vscode-sftp copied to clipboard

vscode Predefined variables doesn't work in sftp.json

Open osumko opened this issue 6 years ago • 2 comments

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:

  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):

  • 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.

osumko avatar Mar 15 '19 11:03 osumko

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?

rigiddesign avatar Nov 25 '21 14:11 rigiddesign

Is there any plan on implementing this??

aarbelle avatar Mar 07 '23 13:03 aarbelle