3 releases

Uses new Rust 2024

0.1.2 May 18, 2025
0.1.1 May 14, 2025
0.1.0 May 14, 2025

#151 in Text editors

Download history 375/week @ 2025-05-13 36/week @ 2025-05-20 5/week @ 2025-05-27

416 downloads per month

Apache-2.0

380KB
11K SLoC

Blues

Blues is a new, in-development, language server aiming to provide first-class IDE features for the Bluespec SystemVerilog language.

Currently, Blues provides the following features:

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

Quick start guide

Server component

The LSP server component can be installed via Cargo (installs executable blues):

cargo install blues-lsp

Editor integration

VS Code: See extension page

Other editors: TBD. Please consult editor-specific LSP client documentation for integrating an LSP server. Feel free to create an issue for help.

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

License

This project is licensed under Apache License 2.0. See LICENSE.

Dependencies

~12–23MB
~344K SLoC