From aefa205f63d6e4d0d56b9fd45b3d25e03509b9fb Mon Sep 17 00:00:00 2001 From: Julien Cayzac Date: Tue, 19 Dec 2023 21:29:39 +0900 Subject: 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`. --- .devcontainer/devcontainer.json | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to '.devcontainer') 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" } -- cgit v1.2.3