add full El LSP — completions, hover, go-to-def, diagnostics, VSCode extension

This commit is contained in:
Will Anderson
2026-05-03 15:59:42 -05:00
parent cefff5b891
commit 9aa0c49d0c
11 changed files with 1381 additions and 930 deletions
+43 -14
View File
@@ -1,20 +1,29 @@
{
"name": "el-language",
"displayName": "El Language",
"description": "El language support — syntax highlighting, completions, hover, go-to-definition",
"version": "0.1.0",
"description": "El language support — syntax highlighting, completions, hover, go-to-definition, and diagnostics",
"version": "1.0.0",
"publisher": "neuron-technologies",
"license": "MIT",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/neuron-technologies/foundation"
},
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages"
"Programming Languages",
"Linters",
"Other"
],
"keywords": [
"el",
"el-lang",
"language-server"
"language-server",
"lsp",
"neuron"
],
"activationEvents": [
"onLanguage:el"
@@ -23,13 +32,8 @@
"languages": [
{
"id": "el",
"aliases": [
"El",
"el"
],
"extensions": [
".el"
],
"aliases": ["El", "el-lang"],
"extensions": [".el", ".elh"],
"configuration": "./language-configuration.json"
}
],
@@ -39,6 +43,29 @@
"scopeName": "source.el",
"path": "./syntaxes/el.tmGrammar.json"
}
],
"configuration": {
"type": "object",
"title": "El Language",
"properties": {
"el.lspPath": {
"type": "string",
"default": "",
"description": "Absolute path to the el-lsp binary. Leave empty to use the binary bundled with the extension (../dist/el-lsp)."
},
"el.trace.server": {
"type": "string",
"enum": ["off", "messages", "verbose"],
"default": "off",
"description": "Trace LSP messages between VSCode and el-lsp (visible in Output → El LSP Trace)."
}
}
},
"commands": [
{
"command": "el.restartServer",
"title": "El: Restart Language Server"
}
]
},
"main": "./extension.js",
@@ -46,10 +73,12 @@
"vscode-languageclient": "^8.1.0"
},
"devDependencies": {
"@types/vscode": "^1.75.0"
"@types/vscode": "^1.75.0",
"@vscode/vsce": "^2.22.0"
},
"scripts": {
"vscode:prepublish": "echo 'no build step required'",
"package": "vsce package"
"vscode:prepublish": "echo 'no transpile step required'",
"package": "vsce package",
"install-dev": "npm install && code --install-extension el-language-1.0.0.vsix 2>/dev/null || true"
}
}