devcontainers / devcontainers/spec

customizations.vscode.codeWorkspace property

Open
#3 0 comments 5 reactions 0 assignees View on GitHub
proposal
Dominant language
No language data
Stars
5.7k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

More complex VS Code projects tend to use a `.code-workspace` file to provide a custom view over the actual file structure, surface multiple launch configs, tasks, and terminals. Today, opening a folder in a dev container (either locally or in Codespaces) will prompt you to use the workspace file if it is in the folder that was opened.

However, given these projects tend to always be used this way, ideally we'd provide a way to allow you to specify a path to a `.code-workspace` file in `devcontainer.json` that should always be opened.

This is a VS Code specific property, so its location will depend partly on #1.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.