LeekScript language support (syntax, diagnostics, completion, hover, inlay type hints, go-to-definition, find-references, document highlight, folding ranges, selection range, document links for includes, format/range format, workspace symbol search, rename, code actions, code lens) via leekscript-ls
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Language support for LeekScript in Visual Studio Code: syntax highlighting, diagnostics, hover (inferred types), go to definition, find references, and more via the leekscript-lsp language server.
Requirements
leekscript-lsp must be built and available on your PATH, or you must set its path in settings.
Build the LSP from the parsing workspace:
cd /path/to/parsing
cargo build -p leekscript-lsp
# Ensure target/debug/leekscript-lsp (or release) is on PATH, or set leekscript.server.path
Installation
Option A: Install from VSIX
Build the VSIX (from the leekscript-vscode folder):
Syntax highlighting for .leek files (keywords, strings, numbers, comments).
Diagnostics from the language server (parse errors, type errors, deprecations).
Hover showing inferred types for expressions and variables.
Go to Definition (F12): jump to the definition of variables, functions, and classes.
Find References (Shift+F12): list all references to the symbol under the cursor.
Code Lens: reference count above functions, classes, and methods (e.g. “3 references”); click to run Find All References. Enable with leekscript.codeLens.references and ensure Editor: Code Lens is on.
License
Same as the leekscript-rs / leekscript-lsp project.