diff --git a/CHANGELOG.md b/CHANGELOG.md index d820377..13ec4f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Pre-release] +- Improve environment display names to match uv/venv style (e.g. `project:env (version)`) +- Sort environments alphabetically by project and environment name +- Update default `workspaceSearchPaths` to improve environment discovery performance - Support `python-envs.workspaceSearchPaths` and `python-envs.globalSearchPaths` for environment discovery - Fix `pixi-code.pixiExecutable` setting not being read - Fix subprocess runner race condition between exit and close events diff --git a/src/pixi/envManager.ts b/src/pixi/envManager.ts index d49bb78..37caef7 100644 --- a/src/pixi/envManager.ts +++ b/src/pixi/envManager.ts @@ -97,7 +97,7 @@ export class PixiEnvManager implements EnvironmentManager { await this.initialize(); if (scope === 'all') { - return [...this.buildEnvLookup().values()]; + return [...this.buildEnvLookup().values()].sort((a, b) => a.displayName.localeCompare(b.displayName)); } if (scope instanceof Uri) {