From bbe7d1fbac3d7b3d18628df00d8191109d17ae7f Mon Sep 17 00:00:00 2001 From: ibis-hdl <83083329+ibis-hdl@users.noreply.github.com> Date: Sun, 24 Nov 2024 10:51:40 +0100 Subject: [PATCH] Better Powershell7 integration on Windows - start `Microsoft.VSCode_profile.ps1` on terminal --- .vscode/settings.json | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index fe78898..9cf31c9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,5 +11,24 @@ "statusBarVisibility": "compact" } }, - "cmake.allowCommentsInPresetsFile": false + "cmake.allowCommentsInPresetsFile": false, + // https://stackoverflow.com/questions/72322120/vscode-import-x-could-not-be-resolved-even-though-listed-under-helpmodules + "python.analysis.extraPaths": [ + "~/.local/share/pipx/venvs/conan/lib/python3.12/site-packages/", // pipx + "${workspaceFolder}/.venv/lib/*/site-packages/", + "${workspaceFolder}/.win64-venv/" + ], + "terminal.integrated.shellIntegration.enabled": true, + // https://code.visualstudio.com/docs/terminal/profiles + "terminal.integrated.profiles.windows": { + "PowerShell (MSVC)": { + "path": "pwsh.exe", + "args": [ + "-noexit", + "-file", + "${env:USERPROFILE}\\Documents\\PowerShell\\Microsoft.VSCode_profile.ps1" + ] + } + }, + "terminal.integrated.defaultProfile.windows": "PowerShell (MSVC)" }