devcontainers / devcontainers/spec

Add support for extension `recommendations` and `unwantedRecommendations` in devcontainer.json `customizations:vscode:settings:extensions`

Open
#486 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
5.7k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

Currently extension `recommendations` and `unwantedRecommendations` can only be set in _.vscode/extensions.json_ file.

Adding support for setting those in _devcontainer.json_ under `customizations:vscode:settings:extensions` key would allow avoiding the need for creating (and adding to **git**) the _.vscode/extensions.json_ file.

Something like:
```json
{
"customizations": {
"vscode": {
"settings": {
"extensions": {
"recommendations": [],
"unwantedRecommendations": []
}
}
}
}
}
```

This would be the "equivalent" for `customizations:vscode:settings:launch` (that "mimics" _.vscode/launch.json_) and for `customizations:vscode:settings:tasks` (that "mimics" _.vscode/tasks.json_).

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.