{ "name": "lucisv", "displayName": "lucisv — Verilog/SystemVerilog", "description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.", "version": "0.66.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT", "repository": { "type": "git", "url": "https://git.luci.ooo/lucio/lucisv" }, "homepage": "https://git.luci.ooo/lucio/lucisv", "bugs": { "url": "https://git.luci.ooo/lucio/lucisv/issues" }, "icon": "images/icon.png", "galleryBanner": { "color": "#07111F", "theme": "dark" }, "pricing": "Free", "keywords": [ "verilog", "systemverilog", "sv", "rtl", "hdl", "asic", "fpga", "eda", "formatter", "linter", "language server", "lsp", "semantic highlighting", "refactoring", "code navigation", "snippets" ], "engines": { "vscode": "^1.82.0" }, "categories": [ "Programming Languages", "Formatters", "Linters", "Snippets" ], "main": "./extension.js", "activationEvents": [ "onLanguage:verilog", "onLanguage:systemverilog", "onView:lucisv.hierarchy" ], "contributes": { "mcpServerDefinitionProviders": [ { "id": "lucisv.mcp", "label": "lucisv" } ], "viewsContainers": { "activitybar": [ { "id": "lucisv", "title": "lucisv", "icon": "images/hierarchy.svg" } ] }, "views": { "lucisv": [ { "type": "webview", "id": "lucisv.hierarchy", "name": "Hierarchy" }, { "id": "lucisv.references", "name": "References", "when": "lucisv.references.hasResults" } ] }, "commands": [ { "command": "lucisv.hierarchy.refresh", "title": "Refresh Hierarchy", "icon": "$(refresh)" }, { "command": "lucisv.hierarchy.clearBookmark", "title": "Clear Hierarchy Bookmark", "icon": "$(clear-all)" }, { "command": "lucisv.hierarchy.starDut", "title": "Star Module as DUT", "category": "lucisv", "icon": "$(star-full)" }, { "command": "lucisv.hierarchy.unstarDut", "title": "Unstar DUT", "category": "lucisv", "icon": "$(star-empty)" }, { "command": "lucisv.hierarchy.clearDuts", "title": "Clear DUTs", "category": "lucisv", "icon": "$(star-empty)" }, { "command": "lucisv.mcp.copyConfig", "title": "Copy MCP server config", "category": "lucisv" }, { "command": "lucisv.references.show", "title": "Find All References (full lines)", "category": "lucisv" }, { "command": "lucisv.references.clear", "title": "Clear References", "category": "lucisv", "icon": "$(clear-all)" } ], "keybindings": [ { "command": "lucisv.references.show", "key": "shift+alt+f12", "when": "editorTextFocus && editorHasReferenceProvider && config.lucisv.references.fullLineView && editorLangId =~ /^(system)?verilog$/" } ], "menus": { "commandPalette": [ { "command": "lucisv.mcp.copyConfig" }, { "command": "lucisv.references.show", "when": "editorLangId =~ /^(system)?verilog$/" }, { "command": "lucisv.references.clear", "when": "lucisv.references.hasResults" } ], "editor/context": [ { "command": "lucisv.references.show", "when": "editorHasReferenceProvider && editorLangId =~ /^(system)?verilog$/", "group": "navigation@100" } ], "view/title": [ { "command": "lucisv.hierarchy.refresh", "when": "view == lucisv.hierarchy", "group": "navigation@1" }, { "command": "lucisv.hierarchy.clearBookmark", "when": "view == lucisv.hierarchy", "group": "navigation@2" }, { "command": "lucisv.hierarchy.clearDuts", "when": "view == lucisv.hierarchy", "group": "navigation@3" }, { "command": "lucisv.hierarchy.starDut", "when": "view == lucisv.hierarchy", "group": "1_duts@1" }, { "command": "lucisv.hierarchy.unstarDut", "when": "view == lucisv.hierarchy", "group": "1_duts@2" }, { "command": "lucisv.references.clear", "when": "view == lucisv.references", "group": "navigation@1" } ] }, "configurationDefaults": { "[verilog]": { "editor.defaultColorDecorators": "never", "editor.semanticHighlighting.enabled": true, "editor.stickyScroll.defaultModel": "foldingProviderModel", "editor.stickyScroll.maxLineCount": 10 }, "[systemverilog]": { "editor.defaultColorDecorators": "never", "editor.semanticHighlighting.enabled": true, "editor.stickyScroll.defaultModel": "foldingProviderModel", "editor.stickyScroll.maxLineCount": 10 } }, "semanticTokenScopes": [ { "language": "verilog", "scopes": { "namespace": [ "entity.name.namespace", "entity.name.type.namespace", "entity.name.type" ], "class": [ "entity.name.type.class", "entity.name.type", "support.class" ], "type": [ "entity.name.type", "support.type" ], "enumMember": [ "variable.other.enummember", "variable.other.constant", "constant.other" ], "parameter": [ "keyword.control", "constant.language", "variable.parameter" ], "variable": [ "support.variable", "entity.other.attribute-name", "variable.other.readwrite" ], "property": [ "entity.name.tag.css", "entity.other.attribute-name", "variable.other.property" ], "function": [ "entity.name.function", "support.function" ], "macro": [ "entity.name.function.preprocessor", "meta.preprocessor" ], "decorator": [ "entity.name.function.decorator", "meta.attribute" ] } }, { "language": "systemverilog", "scopes": { "namespace": [ "entity.name.namespace", "entity.name.type.namespace", "entity.name.type" ], "class": [ "entity.name.type.class", "entity.name.type", "support.class" ], "type": [ "entity.name.type", "support.type" ], "enumMember": [ "variable.other.enummember", "variable.other.constant", "constant.other" ], "parameter": [ "keyword.control", "constant.language", "variable.parameter" ], "variable": [ "support.variable", "entity.other.attribute-name", "variable.other.readwrite" ], "property": [ "entity.name.tag.css", "entity.other.attribute-name", "variable.other.property" ], "function": [ "entity.name.function", "support.function" ], "macro": [ "entity.name.function.preprocessor", "meta.preprocessor" ], "decorator": [ "entity.name.function.decorator", "meta.attribute" ] } } ], "languages": [ { "id": "verilog", "aliases": [ "Verilog", "verilog" ], "extensions": [ ".v", ".vh" ], "configuration": "./language-configuration.json" }, { "id": "systemverilog", "aliases": [ "SystemVerilog", "systemverilog" ], "extensions": [ ".sv", ".svh" ], "configuration": "./language-configuration.json" } ], "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": "lucisv.rainbow1", "description": "begin/end nesting level 1 (and every 6th level below it).", "defaults": { "dark": "#FFD700", "light": "#0431FA", "highContrast": "#FFD700", "highContrastLight": "#0431FA" } }, { "id": "lucisv.rainbow2", "description": "begin/end nesting level 2 (and every 6th level below it).", "defaults": { "dark": "#DA70D6", "light": "#319331", "highContrast": "#DA70D6", "highContrastLight": "#319331" } }, { "id": "lucisv.rainbow3", "description": "begin/end nesting level 3 (and every 6th level below it).", "defaults": { "dark": "#179FFF", "light": "#7B3814", "highContrast": "#87CEFA", "highContrastLight": "#7B3814" } }, { "id": "lucisv.rainbow4", "description": "begin/end nesting level 4 (and every 6th level below it).", "defaults": { "dark": "#87D96B", "light": "#0E7490", "highContrast": "#87D96B", "highContrastLight": "#0E7490" } }, { "id": "lucisv.rainbow5", "description": "begin/end nesting level 5 (and every 6th level below it).", "defaults": { "dark": "#FF8C69", "light": "#6D28D9", "highContrast": "#FF8C69", "highContrastLight": "#6D28D9" } }, { "id": "lucisv.rainbow6", "description": "begin/end nesting level 6 (and every 6th level below it).", "defaults": { "dark": "#4FD6D6", "light": "#BE185D", "highContrast": "#4FD6D6", "highContrastLight": "#BE185D" } }, { "id": "lucisv.rainbowUnmatched", "description": "A begin/end or fork/join keyword whose counterpart is missing.", "defaults": { "dark": "#FF1212", "light": "#B30000", "highContrast": "#FF1212", "highContrastLight": "#A80000" } }, { "id": "lucisv.hierarchyCurrent", "description": "Hierarchy pane: background of a row whose module is declared in the active file.", "defaults": { "dark": "#FFB34745", "light": "#FFC26661", "highContrast": "#FFB34780", "highContrastLight": "#FF8C0099" } }, { "id": "lucisv.hierarchyParent1", "description": "Hierarchy pane: background of the row one level above the active file's row.", "defaults": { "dark": "#FFB34730", "light": "#FFC2664F", "highContrast": "#FFB34761", "highContrastLight": "#FF8C0073" } }, { "id": "lucisv.hierarchyParent2", "description": "Hierarchy pane: background of the row two levels above the active file's row.", "defaults": { "dark": "#FFB34721", "light": "#FFC2663B", "highContrast": "#FFB34745", "highContrastLight": "#FF8C0052" } }, { "id": "lucisv.hierarchyParent3", "description": "Hierarchy pane: background of the row three levels above the active file's row.", "defaults": { "dark": "#FFB34716", "light": "#FFC26629", "highContrast": "#FFB3472B", "highContrastLight": "#FF8C0033" } }, { "id": "lucisv.hierarchyAncestor", "description": "Hierarchy pane: background of every row four or more levels above the active file's row (the floor, still distinct from an unlit row).", "defaults": { "dark": "#FFB3470D", "light": "#FFC26615", "highContrast": "#FFB34717", "highContrastLight": "#FF8C001A" } }, { "id": "lucisv.hierarchyCurrentBar", "description": "Hierarchy pane: the bar at the left edge of a lit row — solid and widest on the active file's row, narrower and fainter each level up.", "defaults": { "dark": "#FFB347", "light": "#C86400", "highContrast": "#FFB347", "highContrastLight": "#B35900" } }, { "id": "lucisv.commentKeyword", "description": "TODO, FIXME, FIX_ME, TBD and the words in lucisv.commentKeywords.custom, inside comments (painted bold in this colour).", "defaults": { "dark": "#FF9E3D", "light": "#A85000", "highContrast": "#FFA500", "highContrastLight": "#9C4A00" } } ], "configuration": { "title": "lucisv", "properties": { "lucisv.serverPath": { "type": "string", "default": "lucisv-server", "description": "Path to the lucisv-server executable. Overrides the server bundled with the extension. A bare name is looked up on PATH." }, "lucisv.mcp.enabled": { "type": "boolean", "default": true, "markdownDescription": "Offer `lucisv-mcp` — lucisv as a Model Context Protocol server — to VS Code's agent mode, one server per workspace folder (listed under **MCP: List Servers**). Needs VS Code 1.101 or later; older versions ignore it. Turn it off to withdraw the server without uninstalling anything. Other agents (Claude Code, Cursor) read their own config: use **lucisv: Copy MCP server config**." }, "lucisv.mcp.path": { "type": "string", "default": "", "markdownDescription": "Path to the `lucisv-mcp` executable. Empty (the default) uses the one bundled with the extension, else `lucisv-mcp` on PATH. Also the binary **lucisv: Copy MCP server config** names." }, "lucisv.mcp.mode": { "type": "string", "enum": [ "full", "read-only" ], "enumDescriptions": [ "All nine tools: the five reads and the four verified edits (rename, port, edit_item, format).", "The five read tools only (hierarchy, find, outline, read, check): the server never writes a file in the workspace." ], "default": "full", "markdownDescription": "Which tools `lucisv-mcp` offers agent mode. `read-only` starts it with `--read-only` (listed as **lucisv read-only (folder)**): the five read tools, never a write inside the workspace. Any other value is treated as read-only. Also the mode **lucisv: Copy MCP server config** copies (server key `lucisv-ro`)." }, "lucisv.verbose": { "type": "boolean", "default": false, "markdownDescription": "Print how long every operation took in the lucisv output channel: one `timing:` line per request answered and per notification handled, plus the workspace scans, the index widens, the buffer flushes and any request that had to wait behind a rescan. Off by default and worth turning on only to answer \"why did that feel slow?\" — a busy session logs a line per keystroke. **Changing this restarts the language server**, because it is an argument the server is started with (`lucisv-server --verbose`), not something it can be told mid-session." }, "lucisv.references.fullLineView": { "type": "boolean", "default": true, "markdownDescription": "Make **Find All References** (`Shift+Alt+F12`) in Verilog/SystemVerilog editors open lucisv's References view, which shows every reference's whole source line with the identifier highlighted, instead of VS Code's own view, which cuts each line to a few characters before the match. Off leaves the built-in command on the key. **lucisv: Find All References (full lines)** in the editor context menu works either way, and `Shift+F12` peek is never changed." }, "lucisv.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 `lucisv.rainbow*` theme colour you can override in `workbench.colorCustomizations`. Takes effect immediately." }, "lucisv.commentKeywords.builtIn": { "type": "boolean", "default": true, "markdownDescription": "Highlight `TODO`, `FIXME`, `FIX_ME` and `TBD` inside `//` and `/* */` comments — whole words only, so `TODO_reg` is left alone, and never in strings or code. Painted bold in the `lucisv.commentKeyword` theme colour, which `workbench.colorCustomizations` can override. Off leaves only the words in `#lucisv.commentKeywords.custom#`. Takes effect immediately." }, "lucisv.commentKeywords.custom": { "type": "array", "items": { "type": "string", "minLength": 1, "maxLength": 40, "pattern": "^\\S+$", "patternErrorMessage": "One word: no spaces." }, "maxItems": 50, "uniqueItems": true, "default": [], "markdownDescription": "More words to highlight inside comments, the same way as `#lucisv.commentKeywords.builtIn#`'s: `[\"XXX\", \"HACK\", \"REVIEW:\"]`. Each is matched literally — `.` or `*` in a word means that character, not a pattern — as a whole word: a word that starts or ends with a letter, digit, `_` or `$` is not matched where another of those touches it, so `HACK` skips `HACK_mode`. Up to 50 words of up to 40 characters, no spaces; anything else is ignored, with a line in the lucisv output channel. Takes effect immediately." }, "lucisv.commentKeywords.caseSensitive": { "type": "boolean", "default": true, "markdownDescription": "Match the comment keywords' capitals exactly, so `todo` in prose is not highlighted. Off highlights `todo`, `Todo` and `TODO` alike, for the built-in words and `#lucisv.commentKeywords.custom#` both. Takes effect immediately." }, "lucisv.hierarchy.duts": { "type": "array", "items": { "type": "string" }, "default": [], "scope": "window", "markdownDescription": "Modules the Hierarchy pane treats as DUTs, by name. Each one splits the pane into two more sections — the DUT with its children, and an upward tree of everything that instantiates it — ahead of the \"Other modules\" section. This is the checked-in list a team shares (`.vscode/settings.json`); starring from the pane's own menu is the per-workspace way and the two are shown together. A DUT that comes from this setting is shown locked and cannot be unstarred from the pane." }, "lucisv.hierarchy.highlightCurrent": { "type": "boolean", "default": true, "scope": "window", "markdownDescription": "Light the Hierarchy pane's rows that lead to the active file: the row whose module the file declares in a bright orange with a solid bar at its edge, each row above it one shade dimmer, down to a faint floor. Every instance of the module is lit, with its whole path. The shades are the `lucisv.hierarchyCurrent`, `lucisv.hierarchyParent1`–`3`, `lucisv.hierarchyAncestor` and `lucisv.hierarchyCurrentBar` theme colours, which `workbench.colorCustomizations` can override." }, "lucisv.format.style": { "type": "string", "enum": [ "lucisv", "google", "lowrisc", "ansi", "microsoft", "nxp", "auto" ], "enumDescriptions": [ "lucisv's own layout and the default: 2 spaces, 100 columns, `end else begin`, a header on one line when it fits, alignment kept where you wrote it.", "The Google Verilog Style Guide: 2 spaces, 100 columns, `end else begin`, one port and one connection per line at a 4-space continuation indent.", "The lowRISC (OpenTitan) Verilog style guide: like google, but the lists at a 2-space indent and every port and connection table aligned in columns.", "Allman layout, as C formatters' `ansi` style: 4 spaces, 80 columns, `begin` and `else` on lines of their own. lucisv's guess, not a published Verilog standard.", "After clang-format's Microsoft base style: 4 spaces, 120 columns, `begin` and `else` on lines of their own, one port and one connection per line. lucisv's guess; Microsoft publishes no Verilog style.", "A conservative RTL house style: 2 spaces, 80 columns, `end` and `else` on separate lines, one port per line, every table aligned. lucisv's guess; NXP publishes no Verilog style.", "Each file in the preset it is already closest to: lucisv formats it with every preset's layout and keeps the one that changes the fewest lines. Indent and line length are not guessed — they come from `#lucisv.indent#`/`#lucisv.lineLength#`, the editor, or the defaults — so set the indent to match the file first: a 4-space Allman file under `auto` at indent 2 comes out in the `lucisv` layout." ], "default": "lucisv", "markdownDescription": "The layout preset the formatter uses. Each one sets the indent and line length too; `#lucisv.indent#` and `#lucisv.lineLength#`, when set, still win over the preset's, and a style you choose here outranks `#editor.tabSize#`. Every style only moves whitespace — the same safety check runs whichever you pick. A checked-in `lucisv.toml` with `[format] style = \"…\"` outranks this setting, so a project and its editors cannot disagree. `ansi`, `microsoft` and `nxp` are lucisv's educated guesses at what those names suggest, not rules published by those organisations." }, "lucisv.format.uvmUtilsIndent": { "type": "boolean", "default": false, "markdownDescription": "Indent the `` `uvm_field_* `` macros written between `` `uvm_object_utils_begin ``/`` `uvm_component_utils_begin `` and their `` _end `` one level, the way a `begin`/`end` body would be. They are plain macro invocations with no block for the formatter to see, so it leaves them in the `_begin`'s own column unless this is on. **Off by default**: turning it on changes the formatted output of files that are already clean. A checked-in `lucisv.toml` with `[format] uvm-utils-indent = true` outranks this setting, so a project and its editors cannot disagree." }, "lucisv.inlineTemplates": { "type": "boolean", "default": true, "markdownDescription": "Show grey ghost text that finishes a block as you open it: `if (` suggests `) begin … end`, a `case (` suggests its arms and `endcase`, and a `begin`, `fork`, `generate` or `module` at the end of a line suggests its closer. Tab accepts it as a snippet, so the cursor lands in the condition first and in the body second; where more than one shape fits (`always @(`), `Alt+]` cycles them. The accepted text is indented with the editor's own `editor.tabSize`/`editor.insertSpaces`, not with `#lucisv.indent#`. Requires `editor.inlineSuggest.enabled`." }, "lucisv.inlineInstantiation": { "type": "boolean", "default": true, "markdownDescription": "Show grey ghost text that finishes a module instantiation once you have typed the module's whole name **followed by a space**, somewhere an instantiation may be written: every parameter override and every port connection, with a port that matches a signal already in scope connected for you. Tab accepts it as a snippet and steps through the values left to fill in. The space is what says the name is finished — `aes` alone offers nothing, because `aes_dft` may still be coming — and the name must match an indexed module exactly, capitals included; the completion popup is what helps you get there. A module two files declare expands from the copy nearest your own file. The accepted text is indented with the editor's own `editor.tabSize`/`editor.insertSpaces`, not with `#lucisv.indent#`. Requires `editor.inlineSuggest.enabled`." }, "lucisv.inlineKeywords": { "type": "boolean", "default": true, "markdownDescription": "Show the rest of a keyword as grey ghost text while you type its first letters: `alw` suggests `always_ff`, `endm` suggests `endmodule`; Tab accepts it. While the completion popup is open the ghost follows the popup's selected entry. A word that is already a keyword only grows across an underscore (`always` → `always_ff`), so `end` and `for` stay as typed. A `.v` file is only offered Verilog-2005 keywords. Independent of `#lucisv.inlineTemplates#`. Requires `editor.inlineSuggest.enabled`." }, "lucisv.autoEnd": { "type": "boolean", "default": true, "markdownDescription": "When you press Enter after a line ending in `begin` (or `begin : label`) and that block has no `end` yet, write the `end` on the line below, lined up with the statement the `begin` belongs to, and leave the cursor on the indented line in between. Works whether or not `#editor.formatOnType#` is on. A block that already has its `end` gets none." }, "lucisv.formatOnSave": { "type": "boolean", "default": false, "markdownDescription": "Let the server format the file when you save it, over `textDocument/willSaveWaitUntil`. Off by default, and **not** what a VS Code user wants: `#editor.formatOnSave#` already formats through lucisv and turning both on formats twice. This exists for the editors that have no format-on-save of their own. The indent comes from the project's `lucisv.toml`, then `#lucisv.indent#`, then the built-in 2 — never from `#editor.tabSize#`, which the protocol does not send with this request." }, "lucisv.lineLength": { "type": [ "number", "null" ], "default": null, "minimum": 40, "maximum": 400, "markdownDescription": "Maximum line width, the same as `line-length` in a `lucisv.toml`. A `lucisv.toml` in the project wins over this; leave it unset to use the built-in 100." }, "lucisv.indent": { "type": [ "number", "null" ], "default": null, "minimum": 1, "maximum": 8, "markdownDescription": "Indent width in spaces, the same as `indent` in a `lucisv.toml`. A `lucisv.toml` in the project wins over this; leave it unset to use the editor's tab size." }, "lucisv.exclude": { "type": "array", "items": { "type": "string" }, "default": [], "markdownDescription": "Extra path patterns to keep out of the workspace index, the same as `exclude` in a `lucisv.toml`. These are **added to** the project's own excludes, never replacing them." }, "lucisv.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 `lucisv.toml`; leave it empty to index the workspace folder." }, "lucisv.index.scope": { "type": "string", "enum": ["folder", "workspace"], "enumDescriptions": [ "Index the folders your open files live in, and everything under them.", "Index every folder in the workspace, whatever is open." ], "default": "folder", "markdownDescription": "How much of your project the workspace index scans. **`folder` (the default) indexes only the folders your open files live in** — plus everything under them — which is what keeps a huge project from costing minutes on every scan. Opening a file in another folder widens the index to that folder as well, so the scope grows as you work; it never shrinks while the editor is open. **Until it reaches a folder, symbols in that folder do not exist as far as the server is concerned**: go-to-definition, workspace symbol search, call and type hierarchy, find-references and rename all answer within the current scope only — so renaming a module that is also instantiated outside the scope (a top-level `*_top.sv` two blocks away) leaves those instantiations unchanged; open such a file first, or switch to `workspace`, before a rename across blocks. Set to `workspace` to index every workspace folder up front, as lucisv always did before this setting existed — the right choice for a small project or a fast machine. A `#lucisv.filelist#` overrides this setting entirely: a project file defines the scope." }, "lucisv.index.scopeDepth": { "type": "number", "default": 2, "minimum": 0, "markdownDescription": "How many folders **above** an open file the `folder` scope starts from — the reach for relative files. `2` (the default) starts two folders up, which in a typical layout is the whole block an open file belongs to: a file in `hw/ip/aes/rtl/` indexes all of `hw/ip/aes/`, `dv/` and `rtl/` together. `0` is the file's own folder and nothing above it — the old default, and the narrowest, fastest scope there is. The climb never leaves the workspace folder that contains the file, so a large number simply means the whole workspace folder. Raising this widens every answer listed under `#lucisv.index.scope#` and costs a larger scan. Ignored when `#lucisv.index.scope#` is `workspace` or a `#lucisv.filelist#` is set. With **no** workspace folder open there is nothing to clamp the climb against, so set it to `0` when you open single files on their own." }, "lucisv.index.maxFileSize": { "type": "number", "default": 1048576, "minimum": 0, "markdownDescription": "Largest file, in bytes, the workspace index will read while scanning your folders. Anything bigger is almost always a generated netlist rather than a design file, and indexing one costs minutes and answers nothing. Set to `0` for no cap. A file you **open** is always indexed in full, however big it is — the cap applies to the folder scan only. Changing this rescans the workspace." }, "lucisv.index.logFiles": { "type": "boolean", "default": true, "markdownDescription": "Name every file in the lucisv output channel as it is indexed, and every file the size cap skipped. Useful for finding out why a symbol is missing or why a scan is slow; turn it off if you would rather the channel stayed quiet. Files skipped by `#lucisv.index.maxFileSize#` are counted in the progress bar's final message either way. A file restored from the index cache is logged as `cached:` rather than `indexing:`." }, "lucisv.index.persist": { "type": "boolean", "default": true, "markdownDescription": "Remember what indexing a file found, so that reopening this workspace — or reopening it after a crash halfway through a scan — does not parse every unchanged file again. The store lives in this workspace's extension storage folder unless `#lucisv.index.cachePath#` says otherwise, and holds one entry per file **keyed by that file's exact contents**: an entry is used only for the bytes it was made from, so a stale or damaged one costs a re-parse and can never affect an answer. Turn it off to keep the index entirely in memory, as lucisv did before this setting existed; nothing is then read or written." }, "lucisv.index.cachePath": { "type": "string", "default": "", "markdownDescription": "Where to keep the index cache `#lucisv.index.persist#` writes — absolute, or relative to the first workspace folder. Empty (the default) means the extension's own per-workspace storage folder, which VS Code cleans up when the workspace is forgotten. Set this to share one cache between checkouts of the same tree, or to keep it somewhere faster. The directory is created on demand and marks itself ignored with a `.gitignore`. Takes effect on the next workspace scan." }, "lucisv.largeFile.threshold": { "type": "number", "default": 4194304, "minimum": 0, "markdownDescription": "Size in bytes above which an **opened file** is put on the fast path: it is line-counted and nothing else — never parsed, never analyzed, never indexed — so a 100 MB netlist opens instantly instead of hanging the editor. What you still get is **syntax colouring of what is on screen**, painted a screenful at a time, plus go-to-definition and find-references within that file by text search. Everything else — diagnostics, formatting, symbols, folding, rename, hover, completion — answers nothing at all for such a file, and formatting says so rather than doing nothing quietly. A file on the fast path is left out of the workspace index entirely, so its symbols do not exist for the rest of the project. Set to `0` to analyze every file you open however big it is. A change takes effect at once on the files already open. Not to be confused with `#lucisv.index.maxFileSize#`, which is about files nobody opened." }, "lucisv.lint.select": { "type": "array", "items": { "type": "string" }, "default": [], "markdownDescription": "Run exactly these lint rules, replacing the default set — the editor's spelling of `lucisv check --select` and of `select` under `[lint]` in `lucisv.toml`. Leave it empty (the default) to run the default set. Names are the rule ids shown in each diagnostic, such as `no-tabs` or `unused-signal`; a name lucisv does not know is ignored rather than failing the whole selection. A `lucisv.toml` in the tree governs `lucisv check` on the command line; this setting governs what the editor shows." }, "lucisv.lint.ignore": { "type": "array", "items": { "type": "string" }, "default": [], "markdownDescription": "Lint rules to drop from whatever `#lucisv.lint.select#` left — the editor's spelling of `lucisv check --ignore`. This is the off switch for the three rules that read the whole project rather than one file (`unused-signal`, `undriven-net`, `multiply-driven`): they are on by default wherever lucisv can see the other files of your workspace, because it can then tell that another file reads a signal through a hierarchical path. A name lucisv does not know is ignored. Takes effect immediately — every open file is re-checked." }, "lucisv.lint.options": { "type": "object", "default": {}, "order": 13, "additionalProperties": true, "markdownDescription": "Per-rule lint options, as `{ \"\": { \"