Skip to content

hverlin/mise-vscode

Repository files navigation

mise-vscode πŸ› οΈ

VS Code Marketplace Open VSX

VS Code extension for mise

mise is a development setup tool that manages your project's tools, runtimes, environment variables, and tasks all in one place.

mise-extension.png

πŸ“₯ Installation

πŸ“¦ Requirements

  • This extension is tested against the latest version of mise. To update, run mise self-update.
  • For syntax highlighting, install even-better-toml. See wiki.

✨ Features

Task Management

  • πŸ” Automatic detection of mise tasks
  • ⚑ Run tasks directly from:
    • mise.toml files or file tasks
    • Command palette
    • Mise sidebar
  • Arguments are supported!
  • πŸ“ View task definitions
  • βž• Create new 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 extensions to use tools from 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.

Example launch.json file:

{
    "version": "2.0.0",
    "tasks": [
        {
            "type": "mise",
            "task": "build-my-app",
            "label": "Build my app",
            "watch": true
        }
    ]
}

See the VSCode task integration wiki page for more information.

πŸš€ Getting Started

See Getting Started

Documentation

https://github.com/hverlin/mise-vscode/wiki

πŸ› Bug Reports / Feature Requests / Contributing

Known Issues

  • Workspaces with multiple folders are not yet supported. Only the first workspace folder is used.
  • This extension is not tested on Windows.

Ecosystem

πŸ“„ License

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