coder / code-server

VS Code in the browser
https://coder.com
MIT License
68.15k stars 5.6k forks source link

Downloading web extensions with CLI errors #4749

Open jsjoeio opened 2 years ago

jsjoeio commented 2 years ago

OS/Web Information

Steps to Reproduce

  1. code-server --install vscodevim.vim

Expected

Should install the extension

Actual

Installs but not as a browser extension image

Logs

Screenshot

image

Notes

@bpmct reported this after talking to someone in the Slack community

This issue can be reproduced in VS Code: Yes/No

bpmct commented 2 years ago

@roderik shared some other repro notes. Thanks for reporting :) https://gist.github.com/roderik/405d79f67b0570690a954e2bf5c10855

jsjoeio commented 2 years ago

Can @roderik remove this? They should be using Open VSX

ENV SERVICE_URL https://extensions.coder.com/api
ENV ITEM_URL ''
bpmct commented 2 years ago

Once installed, the extension is not a browser extension, thus unusable. image

A current workaround is to install via extensions via the UI instead of CLI

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

bpmct commented 2 years ago

Bumping this, it is still a valid issue

code-asher commented 3 months ago

For me, it works, but it is obviously slower than if it was a web extension. It is an usptream issue but maybe worth patching...could be pretty complicated though.