From 9e26d87590fd9044621bfe23220c793f1e7916ad Mon Sep 17 00:00:00 2001 From: hwf1324 <1398969445@qq.com> Date: Fri, 22 Sep 2023 17:44:32 +0800 Subject: [PATCH] Fixed the error that the NVDA Python virtual environment could not be found by default. --- .vscode/settings.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f99518a..8741d16 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,7 +10,7 @@ "python.autoComplete.extraPaths": [ "../nvda/source", "../nvda/miscDeps/python" - ], + ], "files.insertFinalNewline": true, "files.trimFinalNewlines": true, "editor.insertSpaces": false, @@ -19,5 +19,5 @@ "../nvda/source", "../nvda/miscDeps/python" ], - "python.defaultInterpreterPath": "../nvda/.venv/scripts/python.exe" + "python.defaultInterpreterPath": "${workspaceFolder}/../nvda/.venv/scripts/python.exe" }