From 420ff21c3bc458a8833356e2fe885484ee1b2dca Mon Sep 17 00:00:00 2001 From: Dennis Bappert <7000188+dbpprt@users.noreply.github.com> Date: Thu, 23 Mar 2023 14:15:23 +0100 Subject: [PATCH] extensions has been removed and replaced by customizations (#1075) Co-authored-by: Dennis Bappert --- .devcontainer/devcontainer.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 9d44afde..7a0da240 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -15,10 +15,14 @@ "remoteEnv": { "PYTHONPATH": "${containerEnv:PATH}:${containerWorkspaceFolder}" }, - "extensions": [ - // Ensure we have IntelliSense in VSCode when running inside container - "ms-python.python" - ], + "customizations": { + "vscode": { + "extensions": [ + // Ensure we have IntelliSense in VSCode when running inside container + "ms-python.python" + ] + } + }, "workspaceFolder": "/workspaces/accelerate", // Need git for VSCode to color code modifications. Only runs when building environment. "onCreateCommand": "apt-get update && apt-get install -y git && pip install -e '.[dev]'"