Brioche is a delicious package manager, and this extension provides official VS Code integration. Currently still in an early work-in-progress state (use the "Brioche LSP: Restart LSP Server" command or click the status bar Brioche LSP item to restart if things go haywire)
Note: Requires the
brioche
CLI tool to be installed locally
- Brioche TypeScript (
.bri
) syntax highlighting - LSP support for Brioche TypeScript (
.bri
) files, provided by thebrioche
CLI command - Build support with progress notification and detailed output panel
- Icon support for Brioche files
- Status bar item to show the Brioche LSP server status (click to restart)
- Validates Brioche is installed and in PATH
brioche-vscode.restartLsp
: Manually restart the Brioche LSP serverbrioche-vscode.runBriocheBuild
: Run Brioche build for the current project
brioche.binaryPath
: Path to the Brioche binary. Leave empty to use Brioche from PATH.brioche.envVars
: Extra environment variables to set when calling the Brioche LSP serverbrioche.log.level
: Log level for the Brioche language server. Options:off
,error
,warn
,info
,debug
,trace
.
- Clone the repo: https://github.com/brioche-dev/brioche-vscode
- Run
npm install
to install NPM dependencies - Run
npm run package
. This will build the filebrioche-vscode-{version}.vsix
in the repo root - Open the VS Code Command Palette (Ctrl-Shift-P) and type "Extensions: Install from VSIX..."
- Navigate to the path of the repo and select the
brioche-vscode-{version}.vsix
file
- Open the repo from VS Code
- Press F5 to launch the extension