From 37deabefcf567415564bf036e523d3b48f741f56 Mon Sep 17 00:00:00 2001 From: Craig Presti <146438+craigomatic@users.noreply.github.com> Date: Fri, 27 Oct 2023 23:19:41 +1030 Subject: [PATCH] Adds jupyter as a vscode extension, fix validation errors in devcontainer.json (#433) * Adds jupyter as a vscode extension, fix validation errors in vscode (see https://containers.dev/supporting#visual-studio-code) * Trim trailing whitespace * Add newline to end of file --------- Co-authored-by: Li Jiang --- .devcontainer/devcontainer.json | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4a8c340292a..b2fba4a8ea3 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,13 +1,21 @@ { - "extensions": ["ms-python.python", "visualstudioexptteam.vscodeintellicode"], - "dockerFile": "Dockerfile", - "settings": { - "terminal.integrated.profiles.linux": { - "bash": { - "path": "/bin/bash" + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "ms-toolsai.jupyter", + "visualstudioexptteam.vscodeintellicode" + ], + "settings": { + "terminal.integrated.profiles.linux": { + "bash": { + "path": "/bin/bash" + } + }, + "terminal.integrated.defaultProfile.linux": "bash" } - }, - "terminal.integrated.defaultProfile.linux": "bash" + } }, + "dockerFile": "Dockerfile", "updateContentCommand": "pip install -e . pre-commit && pre-commit install" }