A Visual Studio Code extension that discovers and displays your micromamba environments, seamlessly integrating with the Python Environments extension.
Features
Automatic Discovery: Finds all your micromamba environments, whether they are global (in MAMBA_ROOT_PREFIX) or local to your workspace.
Seamless Integration: Registers as an environment provider for the official ms-python.vscode-python-envs extension.
Workspace-Aware: Workspace-local environments are prioritized and listed first for easy access.
Real-time Updates: Watches for changes and automatically refreshes the list when you create or delete an environment.
Micromamba: Must be installed and configured in your shell environment. The extension relies on the MAMBA_ROOT_PREFIX environment variable to locate your environments.
Installation
Open Visual Studio Code.
Go to the Extensions view (Ctrl+Shift+X).
Search for Micromamba Environment Provider.
Click Install.
Development
To contribute to this extension, you can follow these steps:
Clone the repository:
git clone <your-repository-url>
cd <repository-folder>
Install dependencies:
npm install
Compile the code:
npm run compile
You can also run npm run watch to automatically recompile on file changes.
Launch in Debug Mode:
Press F5 in VS Code to open a new "Extension Development Host" window with the extension running.