Skip to content

Commit

Permalink
fix(devcontainer): moved settings to customizations/vscode (#21512)
Browse files Browse the repository at this point in the history
The current configuration use the deprecated top-level `settings` and
`extensions` keys. Those are now under `customizations/vscode`.
  • Loading branch information
jcayzac authored Dec 19, 2023
1 parent 6824123 commit aefa205
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit aefa205

Please sign in to comment.