devcontainers / devcontainers/cli

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

Đang mở
#283 4 bình luận 0 reaction 1 người được giao Được @chrmarti nhận Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.