From f2394cc422b40db6f79a990478cbbb6123baa490 Mon Sep 17 00:00:00 2001 From: Jon Massey Date: Fri, 26 Apr 2024 09:29:04 +0100 Subject: [PATCH] Move devcontainer-specific vscode settings into devcontainer.json and remove vestigial config added for gitpod --- .devcontainer/devcontainer.json | 12 +++++++++++- .vscode/settings.json | 15 --------------- 2 files changed, 11 insertions(+), 16 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8baae2b..745a218 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -32,7 +32,17 @@ "ms-python.python", "ms-toolsai.jupyter", "ms-toolsai.jupyter-renderers" - ] + ], + "settings": { + "extensions.ignoreRecommendations": true, + "files.autoSave": "afterDelay", + "files.autoSaveDelay": 1000, + "git.autofetch": true, + "python.analysis.extraPaths": [".devcontainer/ehrql-main/"], + "python.defaultInterpreterPath": "/opt/venv/bin/python3.10", + "python.terminal.activateEnvironment": true, + "window.autoDetectColorScheme": true + } } }, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 980d7ff..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "python.analysis.extraPaths": [".devcontainer/ehrql-main/"], - "python.defaultInterpreterPath": "/opt/venv/bin/python3.10", - "python.terminal.activateEnvironment": true, - "data.preview.create.json.schema": false, - "files.associations": { - "*.feather": "arrow", - }, - "files.autoSave": "afterDelay", - "files.autoSaveDelay": 1000, - "git.autofetch": true, - "window.autoDetectColorScheme": true, - "extensions.ignoreRecommendations": true, - "data.preview.theme": "light" -}