Files
lucisv/editors/vscode/package.json
T
lucioandClaude Fable 5 aa26e5e427 Rainbow begin/end: vfmt/scopePairs request + themed depth decorations
Server: custom vfmt/scopePairs request returning every begin/end and
fork/join* pair with its nesting depth (UTF-16 ranges); wire shape pinned
by a literal-JSON test and by smoke.js over a real spawned server.

Extension: paints each depth with the theme's own bracket palette
(editorBracketHighlight.foreground1..6), debounced 250 ms, with a
document.version staleness guard; vfmt.rainbowBeginEnd setting (default
on) honored immediately in both directions.

Corpus sweep: 8,146 block pairs across 859 files, max depth 13, worst
request 2.1 ms (picorv32.v).

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-24 02:23:22 -07:00

80 lines
1.9 KiB
JSON

{
"name": "vfmt",
"displayName": "vfmt — Verilog/SystemVerilog",
"description": "Formatting, diagnostics, navigation and semantic highlighting for Verilog and SystemVerilog, served by the vfmt language server.",
"version": "0.2.0",
"publisher": "REPLACE-ME",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://git.luci.ooo/lucio/verilogrustformatter"
},
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Programming Languages",
"Formatters",
"Linters"
],
"main": "./extension.js",
"activationEvents": [
"onLanguage:verilog",
"onLanguage:systemverilog"
],
"contributes": {
"languages": [
{
"id": "verilog",
"aliases": [
"Verilog",
"verilog"
],
"extensions": [
".v",
".vh"
]
},
{
"id": "systemverilog",
"aliases": [
"SystemVerilog",
"systemverilog"
],
"extensions": [
".sv",
".svh"
]
}
],
"snippets": [
{
"language": "verilog",
"path": "./snippets/verilog.json"
},
{
"language": "systemverilog",
"path": "./snippets/systemverilog.json"
}
],
"configuration": {
"title": "vfmt",
"properties": {
"vfmt.serverPath": {
"type": "string",
"default": "vfmt-server",
"description": "Path to the vfmt-server executable. A bare name is looked up on PATH."
},
"vfmt.rainbowBeginEnd": {
"type": "boolean",
"default": true,
"description": "Colour each nesting level of begin/end and fork/join a different colour, using the theme's bracket-pair colours. Takes effect immediately."
}
}
}
},
"dependencies": {
"vscode-languageclient": "9.0.1"
}
}