Files
lucisv/editors/vscode/package.json
T
lucioandClaude Fable 5 d26f08335b Macro expansion M14: hover shows the one-step expansion; v0.5.0
Hovering `NAME(args) now appends an expands-to section: the definition
the card already chose (single_step is blind to lookup, so they cannot
disagree) with parameters substituted by the call's arguments - one
step, so nested macro names stay as written. Strings, `" markers and
escaped identifiers are never substituted into; count mismatches,
unnarrowed multiple candidates and paren-less function-like uses get no
section rather than a guess; an empty argument takes the parameter's
declared default. 2000-char cap with a note. Version 0.5.0 closes the
M7-M14 navigation run with a CHANGELOG entry covering all eight.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-25 03:14:49 -07:00

205 lines
6.2 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.5.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": {
"configurationDefaults": {
"[verilog]": {
"editor.defaultColorDecorators": "never"
},
"[systemverilog]": {
"editor.defaultColorDecorators": "never"
}
},
"languages": [
{
"id": "verilog",
"aliases": [
"Verilog",
"verilog"
],
"extensions": [
".v",
".vh"
]
},
{
"id": "systemverilog",
"aliases": [
"SystemVerilog",
"systemverilog"
],
"extensions": [
".sv",
".svh"
]
}
],
"grammars": [
{
"language": "verilog",
"scopeName": "source.systemverilog",
"path": "./syntaxes/systemverilog.tmLanguage.json"
},
{
"language": "systemverilog",
"scopeName": "source.systemverilog",
"path": "./syntaxes/systemverilog.tmLanguage.json"
}
],
"snippets": [
{
"language": "verilog",
"path": "./snippets/verilog.json"
},
{
"language": "systemverilog",
"path": "./snippets/systemverilog.json"
}
],
"colors": [
{
"id": "vfmt.rainbow1",
"description": "begin/end nesting level 1 (and every 6th level below it).",
"defaults": {
"dark": "#FFD700",
"light": "#0431FA",
"highContrast": "#FFD700",
"highContrastLight": "#0431FA"
}
},
{
"id": "vfmt.rainbow2",
"description": "begin/end nesting level 2 (and every 6th level below it).",
"defaults": {
"dark": "#DA70D6",
"light": "#319331",
"highContrast": "#DA70D6",
"highContrastLight": "#319331"
}
},
{
"id": "vfmt.rainbow3",
"description": "begin/end nesting level 3 (and every 6th level below it).",
"defaults": {
"dark": "#179FFF",
"light": "#7B3814",
"highContrast": "#87CEFA",
"highContrastLight": "#7B3814"
}
},
{
"id": "vfmt.rainbow4",
"description": "begin/end nesting level 4 (and every 6th level below it).",
"defaults": {
"dark": "#87D96B",
"light": "#0E7490",
"highContrast": "#87D96B",
"highContrastLight": "#0E7490"
}
},
{
"id": "vfmt.rainbow5",
"description": "begin/end nesting level 5 (and every 6th level below it).",
"defaults": {
"dark": "#FF8C69",
"light": "#6D28D9",
"highContrast": "#FF8C69",
"highContrastLight": "#6D28D9"
}
},
{
"id": "vfmt.rainbow6",
"description": "begin/end nesting level 6 (and every 6th level below it).",
"defaults": {
"dark": "#4FD6D6",
"light": "#BE185D",
"highContrast": "#4FD6D6",
"highContrastLight": "#BE185D"
}
},
{
"id": "vfmt.rainbowUnmatched",
"description": "A begin/end or fork/join keyword whose counterpart is missing.",
"defaults": {
"dark": "#FF1212",
"light": "#B30000",
"highContrast": "#FF1212",
"highContrastLight": "#A80000"
}
}
],
"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,
"markdownDescription": "Colour each nesting level of `begin`/`end` and `fork`/`join` a different colour, and a keyword whose counterpart is missing in an error colour. Every colour is a `vfmt.rainbow*` theme colour you can override in `workbench.colorCustomizations`. Takes effect immediately."
},
"vfmt.lineLength": {
"type": [
"number",
"null"
],
"default": null,
"minimum": 40,
"maximum": 400,
"markdownDescription": "Maximum line width, the same as `line-length` in a `vfmt.toml`. A `vfmt.toml` in the project wins over this; leave it unset to use the built-in 100."
},
"vfmt.indent": {
"type": [
"number",
"null"
],
"default": null,
"minimum": 1,
"maximum": 8,
"markdownDescription": "Indent width in spaces, the same as `indent` in a `vfmt.toml`. A `vfmt.toml` in the project wins over this; leave it unset to use the editor's tab size."
},
"vfmt.exclude": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "Extra path patterns to keep out of the workspace index, the same as `exclude` in a `vfmt.toml`. These are **added to** the project's own excludes, never replacing them."
},
"vfmt.filelist": {
"type": "string",
"default": "",
"markdownDescription": "Path to an EDA filelist (`.f`), absolute or relative to the workspace folder. When set, **exactly** the files it names are indexed instead of the whole folder — `-f` nesting, `+incdir+`, `+define+`, `#`/`//` comments and `$VAR` expansion are all understood. Overrides a `filelist` key in the project's `vfmt.toml`; leave it empty to index the workspace folder."
}
}
}
},
"dependencies": {
"vscode-languageclient": "9.0.1"
}
}