My apologies (seriously) if this is a dupe, my search-fu is weak this morning - I did try. I'm running the latest released build of Pester.
Repro steps:
- On Windows 11, install vscode and Pester along with whatever it depends on.
- Open a pester project and make sure you can run tests.
- Close vscode.
- Open vscode and then open a folder that only contains Python scripts - no PowerShell whatsoever.
Expected results: vscode opens and just sits there.
Actual results: vscode opens along with the PowerShell Extension Window.
Bonus: You can open a folder full of .txt files and see the same behavior.
Workaround: Disable the Pester extension globally and only enable it if you're writing Pester tests in that project.
Thanks.