Skip to content

Conversation

@pimdh
Copy link

@pimdh pimdh commented Nov 5, 2025

Summary

This PR adds three key improvements to Pixi project discovery:

  1. Configurable search paths: Discover Pixi environments using python-env.globalSearchPaths and python-env.workspaceSearchPaths, and legacy python.venvPath / venvFolders.
  2. Directory traversal: Depth-limited scan (two levels) with heavy-directory skips and deduplication, shared between discovery sites
  3. pyproject.toml support: Detect Pixi projects with a [tool.pixi] section in pyproject.toml in addition to pixi.toml

Changes

Search paths support

pyproject.toml detection

  • Updated refreshPixi() to detect projects using pyproject.toml with [tool.pixi] section
  • Checks for both pixi.toml and pyproject.toml with [tool.pixi] when validating project directories
  • Returns early if neither file is found, avoiding unnecessary pixi info calls

Fixes #23 and fixes #27

@pimdh pimdh force-pushed the feature/project-detection branch from 95f7493 to a290fed Compare November 6, 2025 00:17
@pimdh
Copy link
Author

pimdh commented Nov 10, 2025

Also fixes #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detect pyproject.toml with tool.pixi table as pixi workspace python.venvFolders not used

1 participant