2022.12.0
What's Changed
Enhancements
- Improve how to notify the user they don't have Python installed when installing the Python extension for the first time by @karrtikr in #19379
- Add tip to reload window if user has attempted to install Python in the interpreter quickpick by @karrtikr in #19446
- Improve prompts in case no Python is installed or an invalid interpreter is selected by @karrtikr in #19397
- Do not attempt to launch Jedi language server in case when selected Python interpreter is invalid by @karrtikr in #19449
- Register a command to trigger environment diagnostic prompts by @karrtikr in #19462
- Trigger select environment prompt if an invalid interpreter is selected by @karrtikr in #19473
- Do not trigger test discovery if an invalid interpreter is selected for the workspace by @karrtikr in #19470
- Ensure prompts related to environment selection do not show up at startup by @karrtikr in #19483
- Do not trigger any commands which requires an interpreter if an invalid interpreter is selected by @karrtikr in #19481
- Ensure
Install Python
button on the walkthrough opens and fills in the suggested command by @karrtikr in #19487 - Implement automatic configuration for Django by @paulacamargo25 in #19350
- Ensure install pylance prompt does not show up when starting codespaces by @karrtikr in #19495
- Use status bar to indicate whether selected Python interpreter is invalid by @karrtikr in #19510
- Add dynamic FastAPI debug config by @paulacamargo25 in #19505
- Added setting to control when interpreter information is displayed in the status bar by @karrtikr in #19513
- Add flask debug config by @paulacamargo25 in #19536
- Source the conda activation script when using Gitbash by @karrtikr in #19552
- Look one more level deep in the fastAPI detection by @paulacamargo25 in #19578
Bug Fixes
- Ensure tooltip for environment in status bar updates when env is changed by @karrtikr in #19409
- Do not restart language server for Pylance on interpreter change by @karrtikr in #19425
- Unittest top-level-directory option by @dazfuller in #19398
- Ensure all components in extension are correctly re-activated when a workspace is trusted by @karrtikr in #19488
- More clear error message for invalid debug configuration by @scottshambaugh in #19436
- Ensure virtual environment created using
python -m venv .
is recognized by @karrtikr in #19543 - Fix prompt that shows up when debugging using an invalid Python by @karrtikr in #19561
- Display problematic environments towards the end of the interpreters list by @karrtikr in #19588
Code Health
New Contributors
- @dazfuller made their first contribution in #19398
- @scottshambaugh made their first contribution in #19436
Full Changelog: 2022.10.1...2022.12.0