Bun setup
Here are the steps to set up Bun in VS Code with mise:
- Install the mise-vscode extension (if not already installed)
- Install the Bun extension for VS Code
- Open a project with a
mise.toml
file (or any other files supported by mise)
If your project has a mise.toml
file, such as the one below:
mise-vscode
will automatically detect it and set deno.path
in your workspace settings.
If you want to quickly initialize a Deno project, you can use the following commands:
This will create a new Bun project with a mise.toml
file that specifies the latest version of Bun.
Open the index.ts
file in VSCode and click the run
button, you should be all set!