{ "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.4.2", "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" } }