summaryrefslogtreecommitdiff
path: root/.devcontainer
diff options
context:
space:
mode:
authorJulien Cayzac <jcayzac@users.noreply.github.com>2023-12-19 21:29:39 +0900
committerGitHub <noreply@github.com>2023-12-19 13:29:39 +0100
commitaefa205f63d6e4d0d56b9fd45b3d25e03509b9fb (patch)
treed8fe9099366b101021aefde65683152a230ef377 /.devcontainer
parent68241234faa4715708010b75744bbfa2bb0cc40a (diff)
fix(devcontainer): moved settings to customizations/vscode (#21512)
The current configuration use the deprecated top-level `settings` and `extensions` keys. Those are now under `customizations/vscode`.
Diffstat (limited to '.devcontainer')
-rw-r--r--.devcontainer/devcontainer.json30
1 files changed, 15 insertions, 15 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 0c2a26b80..1a8c24018 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -4,23 +4,23 @@
"dockerfile": "Dockerfile"
},
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
-
- "settings": {
- "lldb.executable": "/usr/bin/lldb",
- // VS Code don't watch files under ./target
- "files.watcherExclude": {
- "**/target/**": true
+ "customizations": {
+ "vscode": {
+ "settings": {
+ "lldb.executable": "/usr/bin/lldb",
+ // VS Code don't watch files under ./target
+ "files.watcherExclude": {
+ "**/target/**": true
+ },
+ "extensions": [
+ "rust-lang.rust-analyzer",
+ "tamasfe.even-better-toml",
+ "vadimcn.vscode-lldb",
+ "mutantdino.resourcemonitor"
+ ]
+ }
}
},
-
- "extensions": [
- "rust-lang.rust-analyzer",
- "tamasfe.even-better-toml",
- "vadimcn.vscode-lldb",
- "mutantdino.resourcemonitor"
- ],
-
"postCreateCommand": "git submodule update --init",
-
"remoteUser": "vscode"
}