devcontainers / devcontainers/cli

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

オープン
#283 コメント 4 件 リアクション 0 件 担当者 1 名 @chrmarti が担当を希望しています GitHub で見る
bug
主要言語
TypeScript
スター
3k
フォーク
457
平均マージ
13時間 17分
マージ済み PR(30日)
6

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。