From 0389251a971b2eb044d645d65a1837d193599bf7 Mon Sep 17 00:00:00 2001 From: Jeff Bailey Date: Thu, 9 Oct 2025 07:45:14 +0000 Subject: [PATCH] Fix broken devcontainer setup The settings JSON key has an extra array marker in it that VSCode doesn't like. Also, modernise the settings and extensions pieces by nesting them under customizations/vscode. --- .devcontainer/devcontainer.json | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1d29fa0f70..c11dbf5693 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,15 +1,21 @@ { "name": "CMake Tools", "dockerFile": "Dockerfile", - "runArgs": [ + "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ], - "settings": { - "terminal.integrated.shell.linux": "/bin/bash" - }, - "extensions": [true][ - "ms-vscode.cpptools" - ] -} + "customizations": { + // Configure properties specific to VS Code. + "vscode": { + // Set *default* container specific settings.json values on container create. + "settings": { + "terminal.integrated.shell.linux": "/bin/bash" + }, + "extensions": [ + "ms-vscode.cpptools" + ] + } + } +} \ No newline at end of file