devcontainers / devcontainers/cli

devcontainer.json file's customizations of the project override feature's customizations

Abierto
#283 4 comentarios 0 reacciones 1 asignado Reclamado por @chrmarti Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
3k
Forks
457
Merge medio
13 h 17 min
PR fusionados (30 d)
6

Descripción

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"
}
}
}
}
}
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.