Skip to content

Using a workspace file in Codespaces? #6843

Answered by Chuxel
brwilkinson asked this question in Codespaces
Discussion options

You must be logged in to vote

In short, yes. VS Code workspace files provide a number of advantages including settings, support for triggering .vscode/launch.json or .vscode/tasks.json from across each root, and the ability to more spawn terminals under each sub-root,

We do not have a way to automatically jump into one currently, but you'll be notified to open it if a .code-workspace file is in the root of the repository.

If you want extensions to always be installed, you can use the extensions property in .devcontainer/devcontainer.json. Extension recommendations are there when you do not want to force people to install something and leave the installation up to personal preference.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@brwilkinson
Comment options

@gabynevada
Comment options

@dijonkitchen
Comment options

Answer selected by brwilkinson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Product Feedback
4 participants