Files
lucisv/editors/vscode/package.json
T
lucioandClaude Fable 5 315bbf23ab Refactoring M1: EDA filelist (.f) defines the index scope
Rope-port umbrella plan (docs/features/refactor) + TODO.md §8; M1 ships
vfmt_core::filelist (-f nesting with cycle + 256-depth guard, +incdir+/
+define+ recorded, env vars, warnings not errors), the vfmt.toml filelist
key, the server scope ladder (filelist > workspace walk > open file's
directory when rootless) and the vfmt.filelist VS Code setting.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-24 04:11:45 -07:00

113 lines
3.4 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."
},
"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"
}
}