Skip to content

Fix duplicate command python.getRecommendedEnvironment#25947

Open
edvilme wants to merge 3 commits intomainfrom
fix-multiroot-duplicate-command
Open

Fix duplicate command python.getRecommendedEnvironment#25947
edvilme wants to merge 3 commits intomainfrom
fix-multiroot-duplicate-command

Conversation

@edvilme
Copy link
Copy Markdown

@edvilme edvilme commented May 5, 2026

Adds guards when calling RecommendedEnvironmentService::activate per folder on a multiroot workspace to avoid registering the command several times.

Fixes microsoft/vscode-python-environments#1039

Adds guards when calling RecommendedEnvironmentService::activate per folder on a multiroot workspace to avoid registering the command several times.
@edvilme edvilme added the bug Issue identified by VS Code Team member as probable bug label May 5, 2026
@edvilme edvilme force-pushed the fix-multiroot-duplicate-command branch from 78994d5 to 1b5cae1 Compare May 5, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue identified by VS Code Team member as probable bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Command 'python.getRecommendedEnvironment' already exists in multi-root workspace

1 participant