devcontainers / devcontainers/cli
devcontainer.json file's customizations of the project override feature's customizations
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3k
- Forks
- 457
- Ø Merge
- 13 Std. 17 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
When there are the same vscode settings in both feature's and the project's devcontainer.json file, the project's customizations override the feature's. Is it possible to merge it instead of an override?
- devcontainer.json file at the **features**:
```json
{
"customizations": {
"vscode": {
"settings": {
"files.associations": {
"LICENSE*": "plaintext"
}
}
}
}
}
```
- devcontainer.json file at the **project**:
```json
{
"customizations": {
"vscode": {
"settings": {
"files.associations": {
"commit-msg-template": "git-commit"
}
}
}
}
}
```
**Expected Result:**
```json
{
"customizations": {
"vscode": {
"settings": {
"files.associations": {
"LICENSE*": "plaintext",
"commit-msg-template": "git-commit"
}
}
}
}
}
```
**Current Result:**
```json
{
"customizations": {
"vscode": {
"settings": {
"files.associations": {
"commit-msg-template": "git-commit"
}
}
}
}
}
```
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.