vscode-micromambaContent The AimProvide a convenient way to install developer tools in VSCode workspaces from conda-forge with micromamba. Get NodeJS, Go, Rust, Python, or JupyterLab installed by running a single command. Inspired by Robocorp RPA developer tools:
CommandsMicromamba: create an environmentThis command creates a file - environment.yml describing configuration. The environment.yml is a mamba environment file The extension comes with a number of templates, but you could change it to your needs and re-run the init command.
Micromamba: deactivate the environment
Micromamba: activate environment
Micromamba: remove the environment
Micromamba: clear allClear all command, removes micromamba and packages, and reset the environment to the initial state.
Micromamba: activate environment by pathActivate an environment created outside of the vscode-micromamba extension.
Micromamba: use the global home directoryStore micromamba files and environments for all projects in one global directory.
Micromamba: use the local home directoryStore micromamba files and environments in the .micromamba directory inside the project.
Micromamba: self-updateUpdate micromamba to the latest version.
Micromamba: show outputShow output pane and select micromamba source
Global home directoryThe extension works locally by default when all additional files are created in the Local mode
Global mode
Location of the global home directoryOn Linux and Mac, the global home directory is always On Windows, the extension asks to provide a path to the global home directory. It's recommended to make the path as short as possible to minimize MAX_PATH problems, especially when using Python. DotEnv file supportDotEnv file is a convenient way to provide environment variables to other extensions or user scripts. Each time a user creates or activates an environment, a ~/.micromamba/.env.{prefix-name} file is created. Multi-root workspacesWith multi-root workspaces, all operations will work the same way as if you open the first workspace folder in VSCode. The idea is that the first workspace folder is a target folder. Let's say you have a
Assuming folders are already created, when you open the workspace in VSCode and command to create a micromamba environment, you'll see the following directory structure:
How to get it?Simply open Micromamba - Visual Studio Marketplace and click Install. Alternatively, open Visual Studio Code, go to the extension view and search for Micromamba. For detailed releases and migration help, please see releases. MaintainersMichael Borisov (@corker). Want to Contribute?Thanks for considering! Check here for useful tips and guidelines. LicenseWe use a shared copyright model that enables all contributors to maintain the copyright on their contributions. This software is licensed under the BSD-3-Clause license. See the LICENSE file for details. |