Files
diodeinc__pcb/vscode/package.json
Lenny Khazan acff75845c Schematics Viewer v2 (#23)
* Support net symbols

* Run renderer tests in CI

* renderer -> LayoutEngine

* wip

* rename

* add examples

* support symbol "extends"

* start reworking layout engine + snapshot tests

* add examples

* wip add nets

* Add signature to ModuleValue

* tweaks

* per-component net labels

* movable

* WIP with ELK

* wip libavoid

* misc fix

* better

* betterer

* improvements

* more

* update

* junction detection

* better

* snapping and stuff

* fix re-rendering

* more better

* more

* cargo fmt

* update bg

* eslint

* cleanup, tests
2025-07-12 13:24:55 -04:00

146 lines
3.2 KiB
JSON

{
"name": "zener",
"description": "A Zener language server",
"extensionKind": [
"workspace"
],
"author": "Diode, Inc.",
"license": "Apache2",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://pcb.new"
},
"publisher": "Diode",
"categories": [],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.60.0"
},
"activationEvents": [
"onLanguage:zener"
],
"main": "./client/out/extension",
"contributes": {
"languages": [
{
"id": "zener",
"aliases": [
"Zener",
"zener"
],
"extensions": [
".star",
".zen"
],
"configuration": "./syntaxes/zener.configuration.json"
}
],
"grammars": [
{
"language": "zener",
"scopeName": "source.zener",
"path": "./syntaxes/zener.tmLanguage.json"
}
],
"breakpoints": [
{
"language": "zener"
}
],
"debuggers": [
{
"type": "zener",
"label": "Zener Debug",
"program": "/usr/bin/env",
"args": [
"pcb",
"--dap"
],
"languages": [
"zener"
],
"configurationAttributes": {
"launch": {
"properties": {
"program": {
"type": "string",
"description": "The program to debug.",
"default": "${file}"
}
}
}
},
"initialConfigurations": [
{
"type": "zener",
"request": "launch",
"name": "Launch Program",
"program": "${file}"
}
]
}
],
"configuration": {
"properties": {
"zener.pcbPath": {
"type": "string",
"default": "pcb",
"description": "The path to the PCB binary (used for LSP, formatting, and layout commands)"
},
"zener.enableGotoDefinition": {
"type": "boolean",
"default": true,
"description": "Whether to ask the LSP server to enable Goto Definition functionality"
}
}
},
"commands": [
{
"command": "zener.openSchematic",
"title": "pcb: View Schematic",
"icon": "$(circuit-board)"
},
{
"command": "zener.runLayout",
"title": "pcb: Update Layout",
"icon": "$(chip)"
}
],
"menus": {
"editor/title": [
{
"command": "zener.openSchematic",
"when": "resourceLangId == zener",
"group": "navigation"
},
{
"command": "zener.runLayout",
"when": "resourceLangId == zener",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b && cd preview && npm install && npm run build && cd ..",
"watch": "tsc -b -w"
},
"devDependencies": {
"@types/lz-string": "^1.5.0",
"@types/mocha": "^9.0.0",
"@types/node": "^16.10.2",
"@typescript-eslint/parser": "^4.32.0",
"eslint": "^7.32.0",
"mocha": "^11.1.0",
"typescript": "^4.4.3"
},
"dependencies": {
"lz-string": "^1.5.0",
"vsce": "^2.9.2"
}
}