Skip to content

hverlin/mise-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mise-vscode 🛠️

VS Code Marketplace Open VSX Documentation

Visual Studio Code extension for mise

mise is a polyglot tool version manager, environment variables manager, and tasks runner.

  • Like asdf (or nvm or pyenv but for any language), it manages dev tools like node, python, cmake, terraform, and hundreds more.
  • Like direnv, it manages environment variables for different project directories.
  • Like make, it manages tasks used to build and test projects.

This VSCode extension provides an easy way to manage mise tasks, tools, and environment variables directly from your editor.

It can automatically configure other extensions to use tools provided by mise in your current project.

mise-extension.png

Installation

✨ Features

Task Management

  • 🔍 Automatic detection of mise tasks
  • ⚡ Run tasks directly from, mise.toml files, file tasks, the command palette or the activity bar (arguments are supported)
  • 📝 View task definitions
  • ➕ Create new toml & file tasks

Tool Management

  • 🧰 View all mise tools (python, node, jq, etc.) in the sidebar
  • 📍 Quick navigation to tool definitions
  • 📱 Show tools which are not installed or active
  • 📦 Install/Remove/Use tools directly from the sidebar
  • 🔧 Configure your other VSCode extensions to use tools provided by mise (list of supported extensions)

Environment Variables

  • 🌍 View mise environment variables
  • 📍 Quick navigation to environment variable definitions
  • 🔄 Automatically load environment variables from mise.toml files in VS Code

Snippets

  • 📝 Snippets to create tasks in mise.toml and task files

Integration with VSCode tasks (launch.json)

This extension lets VSCode tasks use mise tasks. You can use mise tasks in your launch.json file.

See the VSCode task integration wiki page for more information.

Documentation

https://hverlin.github.io/mise-vscode/

Bug Reports / Feature Requests / Contributing

Note that this extension is tested against the latest version of mise. If you encounter an issue, make sure to update mise first with mise self-update or using your package manager.

Known Issues

  • Workspaces with multiple folders are not yet supported. Only the first workspace folder is used.
  • Windows is partially supported. Some features may not work as expected. Please report any issues you encounter.

Ecosystem

License

This extension is licensed under the MIT License. See the LICENSE file for details.