vscode: Remote-SSH does not work with 1.54 and --extensions-dir option
- VSCode Version: 1.54.1
- Local OS Version:Windows 8
- Remote OS Version:CentOS 8
- Remote Extension/Connection Type: SSH
Steps to Reproduce:
- install(extract zip) VSCode to C:\VSCode
- start VSCode with “–extensions-dir Z:\home\.vscode\extensions” option
- click Remote Explorer
- show these logs in “Log (Extension Host)” window.
[2021-03-05 13:57:35.164] [exthost] [error] Activating extension ms-vscode-remote.remote-ssh failed due to an error:
[2021-03-05 13:57:35.168] [exthost] [error] Error: [nullExtensionDescription]: Proposed API is only available when running out of dev or with the following command line switch: --enable-proposed-api nullExtensionDescription
at f (c:\VSCode\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:87:74959)
at Object.p [as checkProposedApiEnabled] (c:\VSCode\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:87:74906)
at Object.registerRemoteAuthorityResolver (c:\VSCode\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:95:35427)
at t.activate (z:\home\.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.0\out\extension.js:127:113555)
at Function._callActivateOptional (c:\VSCode\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:91:14037)
at Function._callActivate (c:\VSCode\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:91:13714)
at c:\VSCode\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:91:11746
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Promise.all (index 0)
Does this issue occur when you try this locally?: Yes Does this issue occur when you try this locally and all extensions are disabled?: Yes
I uninstalled all extensions and re-install remote-ssh only, same result. I do not use --extensions-dir, works fine. I used 1.53.x and --extensions-dir, works fine.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 21 (10 by maintainers)
Commits related to this issue
- run filename through realpath because it seems nodejs isn't always doing that, https://github.com/microsoft/vscode/issues/118812 — committed to microsoft/vscode by jrieken 3 years ago
- Squashed 'lib/vscode/' changes from fd6f3bce670..ead2c2ab0f5 ead2c2ab0f5 Merge pull request #120858 from microsoft/alex/1-55-2 bfb2654224e Pick up new distro version and bump version 08a217c4d27 Merg... — committed to coder/code-server by deleted user 3 years ago
1.54.3 fixes my problem. Thank you!