Conda Code#

Conda environments, packages, workspaces, and tasks in Visual Studio Code.

Conda Code registers its own provider with the Python Environments extension. It presents regular conda environments and project-aware conda-workspaces environments through one manager. It also publishes declared workspace tasks through the native VS Code task interface.

The provider ID is jezdez.conda-code:conda. Conda Code runs the configured conda executable directly and does not delegate to Python Environments’ built-in conda manager.

Regular conda environments

Discover the base environment, named environments, and prefix environments. Create named environments directly or from project-root environment files, select environments, remove them, and manage packages.

Conda workspaces

Find installed environments declared by conda.toml, compatible pixi.toml files, and compatible pyproject.toml tables. Route changes through conda workspace and run declared tasks through native VS Code tasks.

Conda package management

List conda package records, install and remove packages in regular environments, and add dependencies to supported workspace environments.

Related conda tools

Include conda-pypi records, accept conda-lockfiles inputs, skip conda-global tool environments, and coexist with Pixi Code.

Install#

Install Conda Code from the Visual Studio Marketplace or run:

code --install-extension jezdez.conda-code

Python Environments is installed as an extension dependency. To build Conda Code from source, see Source build.

Open the Python Environments view and select Conda Code. See the Quickstart for the complete setup.

Choose a path#

Quickstart

Install Conda Code, select its provider, and verify regular and workspace discovery.

Quickstart
Tutorials

Create named environments directly and from environment.yml, then create a manifest-backed workspace environment and run one of its tasks.

Tutorials
How-to guides

Configure conda, select the provider, manage environments, run workspace tasks, and resolve common problems.

How-to guides
Reference

Requirements, settings, discovery rules, task definitions, and supported operation tables.

Reference
Explanation

How regular environments, workspaces, provider registration, and related conda plugins fit together.

Explanation
Project

Read the changelog, release process, license, and source repository.

Changelog