-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command workbench.extensions.installExtension
doesn't work on Remote Host
#1144
Comments
This is causing remote users of the C/C++ extension to fail to be able to install our Insider vsix. In my repro, my host is Windows and target is WSL. We pass in "/tmp/tmp-num.vsix" (which exists inside WSL) but the remote VS Code tries to use the Windows path C:\tmp\tmp-num.visx and fails -- maybe it's incorrectly executing the command on the host instead of remote side? |
Maybe. I try to pass path to local vsix on remote host, and it doesn't work too. |
Is there a workaround for this? Can I install the vsix from the command line on the remote host? |
From command line probably not, because |
Thanks @rusnasonov that worked. For anyone else follow these steps:
|
/duplicate This should be fixed by #1027 |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines. Happy Coding! |
Issue Type: Bug
I working on extension which install updates from private network with command
workbench.extensions.installExtension
using VSIX. With local VSCode it works great, but on remote ssh host command can't find VSIX. I connect to remote host by ssh via Remote Development extension pack.Steps to reproduce:
remote-test-0.0.1.vsix
locally withInstall from VSIX
command.remote-test-0.0.2.vsix
localy with extension commandInstall Package using workbench.extensions.installExtension
(set full path to vsix package,readlink -f remote-test-0.0.2.vsix
orrealpath remote-test-0.0.2.vsix
). Now localy installedremote-test v0.0.2
.remote-test-0.0.1.vsix
andremote-test-0.0.2.vsix
to remote host (drag'n'drop in vscode, scp, etc.)Install from VSIX ...
command on Remote host. It's open modal window with local file system (why?). Ok, chooseremote-test-0.0.1.vsix
on local host. Nowremote-test-0.0.1.vsix
installed on remote host.Install Package using workbench.extensions.installExtension
on remote host, set full path to vsix package on remote host in InputBox. Go toOutput -> Log (Window)
and see exceptionIf set path to vsix from local host, exception stay similar.
P.S.
New version of VSCode (1.37.0) on step 6 open Quick Pick with local file system, and now there is no way to install package with "Extensions: Install from VSIX" command.
Local host is OSX, remote is Ubuntu Bionic. In VSCode insiders on remote host opened modal window (step 6) with remote file system, but files still not found.
VS Code version: Code 1.36.1 (2213894ea0415ee8c85c5eea0d0ff81ecc191529, 2019-07-08T22:56:38.504Z)
OS version: Darwin x64 18.7.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Extensions (35)
The text was updated successfully, but these errors were encountered: