From d2f18cb21bac8de9131e7842c4f7efeb32a48e55 Mon Sep 17 00:00:00 2001 From: Dan Lipsitt <578773+DanLipsitt@users.noreply.github.com> Date: Thu, 23 May 2024 11:49:01 -0700 Subject: [PATCH] Update .devcontainer.json to fix vscode error warnings. No functional changes. Signed-off-by: Dan Lipsitt <578773+DanLipsitt@users.noreply.github.com> --- docker/everest-playground/.devcontainer.json | 35 +++++++++++--------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/docker/everest-playground/.devcontainer.json b/docker/everest-playground/.devcontainer.json index 249cb566..8020b96d 100644 --- a/docker/everest-playground/.devcontainer.json +++ b/docker/everest-playground/.devcontainer.json @@ -7,12 +7,25 @@ "MQTT_SERVER_ADDRESS": "mqtt-server", "MQTT_SERVER_PORT": "1883" }, - "extensions": [ - "ms-python.python", - "ms-vscode.cpptools", - "twxs.cmake", - "ms-vscode.cmake-tools" - ], + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "ms-vscode.cpptools", + "twxs.cmake", + "ms-vscode.cmake-tools" + ], + "settings": { + "terminal.integrated.profiles.linux": { + "bash": { + "path": "/bin/bash" + } + }, + "terminal.integrated.defaultProfile.linux": "bash", + "python.pythonPath": "/usr/bin/python3" + } + } + }, "postCreateCommand": "", "remoteUser": "docker", "runArgs": [ @@ -20,13 +33,5 @@ ], "workspaceFolder": "/workspace/everest-cpp", "workspaceMount": "source=${localWorkspaceFolder}/../../,target=/workspace,type=bind", - "settings": { - "terminal.integrated.profiles.linux": { - "bash": { - "path": "/bin/bash" - } - }, - "terminal.integrated.defaultProfile.linux": "bash", - "python.pythonPath": "/usr/bin/python3" - } + }