From c0f2215c0123e7fd0a4317ed5acf776e5fc869a8 Mon Sep 17 00:00:00 2001 From: iburakov Date: Tue, 29 Aug 2023 19:34:03 +0000 Subject: [PATCH] Fix default active interpreter selection in VS Code workspace --- .vscode/nitta.code-workspace | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.vscode/nitta.code-workspace b/.vscode/nitta.code-workspace index cd0c70217..0163c6f3f 100644 --- a/.vscode/nitta.code-workspace +++ b/.vscode/nitta.code-workspace @@ -45,6 +45,12 @@ // setting $LANG to "en_US.UTF-8" or something causes problems with some programs "terminal.integrated.detectLocale": "off", + // this must be set at workspace level a bunch of weird errors doesn't show up right away in the dev container + // or the Python extension doesn't do weird stuff like activating extensions + "python.defaultInterpreterPath": "~/.pyenv/shims/python", + // this should be already activated as pyenv's shims are in PATH + "python.terminal.activateEnvironment": false, + "python.terminal.activateEnvInCurrentTerminal": false, "[toml]": { "editor.defaultFormatter": "tamasfe.even-better-toml" },