Editors & LSP
lucisv-server is a synchronous language server over stdio. It keeps open buffers as in-memory overlays, updates the workspace index incrementally, and returns the same formatting and lint behavior as the CLI.
VS Code
Section titled “VS Code”Install the .vsix attached to a lucisv release:
code --install-extension lucisv-<version>-darwin-arm64.vsix # or the linux/windows package for your machineThe extension registers Verilog/SystemVerilog file types, syntax highlighting, snippets, color settings, configuration, and starts lucisv-server from PATH by default.
DUT-centred hierarchy. Right-click a module in the Hierarchy pane and
choose Star as DUT. The pane splits into sections: the DUT with its
children, the DUT’s parents (an upward tree through everything that
instantiates it — usually the testbench), and all other modules, re-rooted
where their only parents are the DUT’s ancestors. Star a second DUT and you
get five sections. Unstar from the same menu, or clear every DUT from the
pane’s title bar. Starred DUTs are remembered per workspace; a team can also
check them in with "lucisv.hierarchy.duts": ["aes", "hmac"], and DUTs that
come from the setting are shown locked.
Neovim 0.11+
Section titled “Neovim 0.11+”vim.filetype.add({ extension = { v = 'verilog', vh = 'verilog', sv = 'systemverilog', svh = 'systemverilog'} })
vim.lsp.config('lucisv', { cmd = { 'lucisv-server' }, filetypes = { 'verilog', 'systemverilog' }, root_markers = { 'lucisv.toml', '.lucisv.toml', '.git' },})vim.lsp.enable('lucisv')Vim 9, nvim-lspconfig, and coc.nvim can launch the same binary with the same filetypes and root markers.
Workspace indexing
Section titled “Workspace indexing”The server selects files in this order:
- The
lucisv.filelisteditor setting, when set. - The
filelistkey in project configuration. - A recursive workspace-folder walk.
- With no workspace folder, the open file’s directory.
Open buffers are always overlaid on top of the disk index. File watching keeps disk-backed symbols fresh; a broken filelist warns and falls back to the folder walk so the index is never silently empty.
Smoke test
Section titled “Smoke test”The repository includes a protocol-level check that starts the server exactly as the VS Code extension does:
node editors/vscode/smoke.js target/release/lucisv-serverSee Language tools for every advertised request and editor feature.