microsoft / microsoft/vscode-remote-release
Add tasks support to devcontainer.json
@chrmarti is already working on this.
Since Jun 5, 2024.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Looks like, currently, only launch configurations are supported inside devcontainer.json.
You can define launch configurations in devcontainer.json like:
{
"customizations": {
"vscode": {
"settings": {
"launch": {
"configurations": [
]
},
}
}
}
}
It would be great to have the same but for tasks. Something like:
{
"customizations": {
"vscode": {
"settings": {
"tasks": [
],
}
}
}
}
This way we could have a set of predefined launch and tasks configurations available in the devcontainer (and checked in the git repository, as they are inside the devcontainer.json file) and allow the user to "extend" those configurations locally (by adding them to .vscode folder that might be added to .gitignore).
NOTE: I suppose this should also be added to .code-workspace settings implementation (as, under the hood, looks like devcontainers are using the workspace settings mechanism) and documented in default settings.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.