Skip to content

Fix duplicate command python.getRecommendedEnvironment#25947

Merged
eleanorjboyd merged 3 commits intomainfrom
fix-multiroot-duplicate-command
May 7, 2026
Merged

Fix duplicate command python.getRecommendedEnvironment#25947
eleanorjboyd merged 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 #25949

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
@eleanorjboyd eleanorjboyd enabled auto-merge (squash) May 7, 2026 17:54
@eleanorjboyd eleanorjboyd merged commit d48d124 into main May 7, 2026
88 of 92 checks passed
@eleanorjboyd eleanorjboyd deleted the fix-multiroot-duplicate-command branch May 7, 2026 17:54
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 skip-issue-check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants