Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Blues - BSV language supportNew to Visual Studio Code? Get it now.
Blues - BSV language support

Blues - BSV language support

Benas Bagvilas

|
16 installs
| (0) | Free
LSP language server support for the Bluespec SystemVerilog language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Blues - BSV language support

A VS Code extension for the Bluespec SystemVerilog language, powered by the Blues LSP server. Provides the following features:

  • Syntax highlighting
  • Go-to definition/find references
  • Project-wide symbol search
  • Diagnostic messages for syntax errors
  • Symbol rename
  • Folding ranges

Setup

Install the LSP server component

The LSP server component can be installed via Cargo:

cargo install blues-lsp

If cargo install does not place the resulting blues binary in a directory belonging to the system's PATH, or you are installing manually from source, you can specify an absolute path for the blues binary via configuration option blues-lsp.executablePath.

Project setup

To correctly identify source files belonging to a project, Blues currently requires a blues-compdb.json file to be present in a project. For most projects, consisting of a single bsc -u invocation, this minimal example can be used as a template, placed under <PROJECT_ROOT>/blues-compdb.json:

[
  {
    "directory": ".",
    "command": "bsc -u <BSC ARGS>",
  }
]

More info regarding project configuration here

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft