- Notifications
You must be signed in to change notification settings - Fork6.1k
-
Hi, I'm trying to set up two locations to store extensions, built-in and user specific ones. I'm using the following command to start code-server.
I can see and use the extensions inside the This is a comparison of what I see when I use the arg Does anybody know if I'm missing something or if the arg |
BetaWas this translation helpful?Give feedback.
All reactions
FYI, the solution/workaround for me was to install the extensions inside the default built-in extensions folder/usr/lib/code-server/lib/vscode/extensions/
. I used the following command.
code-server \ --install-extension hashicorp.terraform@2.20.1 \--install-extension ms-python.python@2022.4.1 \--extensions-dir /usr/lib/code-server/lib/vscode/extensions/
Replies: 4 comments 3 replies
-
Interesting. I see |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hmm it looks to me like we are passing it through. We will have to poke into it more. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
FYI, the solution/workaround for me was to install the extensions inside the default built-in extensions folder
|
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
It is quite unfortunate that this discussion was marked as one that has an answer: the workaround of installing extensions into "system" dir I am trying to prepare a docker image with code-server for a group of engineers and we would like to have some set of extensions to be-preinstalled by default, but since every engineer mounts their own directory to |
BetaWas this translation helpful?Give feedback.
All reactions
-
I've found this ticket about vscode:microsoft/vscode#56614 (comment) |
BetaWas this translation helpful?Give feedback.
All reactions
-
We are not doing anything with extensions, just passing flags straight through to VS Code, so I am not sure. If VS Code supports it in core, then it should work in code-server, but if it is something they add on top of VS Code, then nope. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Ah just noticed it says Windows only, so it would definitely not work with Linux, either way. |
BetaWas this translation helpful?Give feedback.