This is a simple extension for Mise that enables you to run mise install
and mise run
directly within your workspace directory in VSCode. The extension leverages an existing Mise binary on your system.
CAUTION: I have no experience with JavaScript or creating VSCode extensions and developed this using GitHub Copilot. Nevertheless, it works! 😊
Contributions are welcome.
A Mise binary is required for this extension.
You can install it using:
brew install mise
or use or use alternative installation methods.
- Open the VSCode command palette:
- macOS:
Cmd
+Shift
+P
- Windows/Linux:
Ctrl
+Shift
+P
- macOS:
- Run
mise install
to install tools. - Run
mise tasks
to execute tasks managed by Mise.
Tools and tasks are automatically gathered using Mise’s logic.
For additional guidance, check the official documentation or see my blog post.
You can set a custom shortcut to open the command palette with mise tasks. Add the following to your VSCode keybindings.json
file:
{
"key": "ctrl+cmd+u",
"command": "mise.tasks"
}
This extension contributes the following settings:
mise.misePath
: Specifies the path to the Mise executable (default:/opt/homebrew/bin/mise
)
Initial release
Let me know if you need more adjustments or additions. Enjoy!