Skip to content

Ignoring option install-extension: not supported for code-insiders #27138

Answered by jkeech
sobolevn asked this question in Codespaces
Discussion options

You must be logged in to vote

Hi @sobolevn, installing extensions as part of dotfiles poses some challenges, since dotfiles install runs in parallel with user connection, and there’s no guarantee you are connected by the time it runs, or even which VS Code version you are connecting from (insiders, stable, etc). Without knowing which VS Code version you are connecting from, you cannot know which version to install the extension into.

There are two alternative recommended methods for installing extensions automatically:

  1. Per-user extensions can be installed via settings sync in VS Code, which is enabled automatically in Codespaces. This will have a similar effect to dotfiles: they will be installed in all of your codes…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants