feat: add Pixi extension recommendation and support for Pixi environments#1291
Open
eleanorjboyd wants to merge 2 commits intomicrosoft:mainfrom
Open
feat: add Pixi extension recommendation and support for Pixi environments#1291eleanorjboyd wants to merge 2 commits intomicrosoft:mainfrom
eleanorjboyd wants to merge 2 commits intomicrosoft:mainfrom
Conversation
eleanorjboyd
commented
Feb 27, 2026
| } | ||
|
|
||
| export namespace PixiStrings { | ||
| export const pixiExtensionRecommendation = l10n.t( |
Member
Author
There was a problem hiding this comment.
confirming @karthiknadig you are good with this as the notif
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for detecting Pixi Python environments and recommending the Pixi extension to users. Pixi is a cross-platform package manager that provides Python environments, and this change integrates it into the Python environment discovery and prioritization system.
Changes:
- Added
Pixias a new environment kind in the native Python finder - Implemented extension recommendation logic that prompts users to install the Pixi extension when Pixi environments are detected
- Updated manager priority sorting to include Pixi (second highest priority after pyenv)
- Added localized strings for the Pixi extension recommendation prompt
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/managers/common/nativePythonFinder.ts |
Added pixi enum value to NativePythonEnvironmentKind |
src/managers/builtin/utils.ts |
Implemented recommendPixiExtension() function with session tracking and persistent state; filters out Pixi envs from builtin manager |
src/common/utils/pythonPath.ts |
Added Pixi to manager priority order (2nd highest); improved sorting logic for unknown managers to place them after known managers but before system |
src/common/localize.ts |
Added PixiStrings namespace with localized messages for extension recommendation |
1893737 to
0b84741
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.