Add Python venv activation support for Windows and PowerShell (#17839)

Release Notes:

- Add Python venv activation support for Windows and PowerShell

Additional:

I discovered a related bug on my Windows system. When first opening the
project, it fails to detect the virtual environment folder `.venv`.
After expanding the .venv folder in the Project Panel, it then becomes
able to detect the virtual environment folder. However, I don't know how
to fix it.
This commit is contained in:
ClanEver 2024-09-17 17:17:29 +08:00 committed by GitHub
parent d56e3d99b4
commit 5f0925fb5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 26 additions and 8 deletions

View file

@ -87,6 +87,7 @@ pub enum ActivateScript {
Csh,
Fish,
Nushell,
PowerShell,
}
#[derive(Clone, Debug, Default, Serialize, Deserialize, JsonSchema)]