Files
bux-lang/vscode/package.json
T
dimgigov db7ba1dff2
ci / build (ubuntu) (push) Has been cancelled
ci / unit + fmt (push) Has been cancelled
ci / examples (push) Has been cancelled
ci / goldens + tools (push) Has been cancelled
ci / apps (push) Has been cancelled
ci / selfhost smoke (push) Has been cancelled
ci / macos smoke (push) Has been cancelled
ci / windows smoke (push) Has been cancelled
ci / CI gate (push) Has been cancelled
selfhost-loop / bootstrap determinism (push) Has been cancelled
feat: live LSP error underlines + improved VS Code extension
bux-lsp 0.17 publishes in-process diagnostics on open/change/save so
editors show red squiggles for lex/parse/type errors in the live buffer.
VS Code client discovers tools/bux-lsp, adds status bar/restart, richer
syntax/snippets, and docs (docs/LSP.md) for forum/editor setup.
2026-07-28 05:51:47 +03:00

193 lines
5.8 KiB
JSON

{
"name": "bux-lang",
"displayName": "Bux Language Support",
"description": "Syntax highlighting, snippets, and full LSP support for Bux — live error underlines, hover, go-to-def, rename, call/type hierarchy",
"version": "0.2.1",
"publisher": "bux-lang",
"license": "MIT",
"icon": "icon.png",
"galleryBanner": {
"color": "#0d1117",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/katehonz/bux"
},
"bugs": {
"url": "https://github.com/katehonz/bux/issues"
},
"homepage": "https://github.com/katehonz/bux",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Linters",
"Other"
],
"keywords": [
"bux",
"bux-lang",
"programming-language",
"lsp",
"syntax"
],
"activationEvents": [
"onLanguage:bux",
"workspaceContains:**/*.bux",
"workspaceContains:bux.toml"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "bux",
"aliases": [
"Bux",
"bux"
],
"extensions": [
".bux"
],
"configuration": "./language-configuration.json",
"icon": {
"dark": "./icons/bux-file.svg",
"light": "./icons/bux-file.svg"
}
}
],
"grammars": [
{
"language": "bux",
"scopeName": "source.bux",
"path": "./syntaxes/bux.tmLanguage.json"
}
],
"snippets": [
{
"language": "bux",
"path": "./snippets/bux.json"
}
],
"commands": [
{
"command": "bux.restartLsp",
"title": "Bux: Restart Language Server",
"category": "Bux"
},
{
"command": "bux.stopLsp",
"title": "Bux: Stop Language Server",
"category": "Bux"
},
{
"command": "bux.showOutput",
"title": "Bux: Show Output Channel",
"category": "Bux"
}
],
"menus": {
"commandPalette": [
{
"command": "bux.restartLsp"
},
{
"command": "bux.stopLsp"
},
{
"command": "bux.showOutput"
}
]
},
"configuration": {
"title": "Bux",
"properties": {
"bux.lsp.enabled": {
"type": "boolean",
"default": true,
"description": "Enable the Bux language server (diagnostics, hover, go-to-definition, rename, hierarchy)."
},
"bux.lsp.path": {
"type": "string",
"default": "bux-lsp",
"description": "Path to the bux-lsp binary. Absolute path, workspace-relative path, or command on PATH. If unset/default, the extension also searches tools/bux-lsp under workspace folders."
},
"bux-lsp.trace.server": {
"type": "string",
"scope": "window",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the Bux language server."
}
}
},
"configurationDefaults": {
"[bux]": {
"editor.semanticHighlighting.enabled": true,
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
},
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.wordBasedSuggestions": "off"
}
},
"problemMatchers": [
{
"name": "buxc",
"owner": "bux",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(error|warning|note):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
],
"taskDefinitions": [
{
"type": "bux",
"required": [
"task"
],
"properties": {
"task": {
"type": "string",
"description": "bux subcommand (build, run, test, check)"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "vsce package --no-dependencies 2>/dev/null || npx @vscode/vsce package --no-dependencies"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/vscode": "^1.85.0",
"typescript": "^5.3.0"
}
}