Developer SDK & LSPv0.8.0
Language Server (hadid lsp) & Official VS Code Extension
Built-in diagnostics, hover, definition, completion, auto-formatting, Outline symbols, and the digitalhat.hadid-lang v0.8.0 VS Code extension.
6 min readUpdated: v0.8.0-rc Reference
Official VS Code Extension (digitalhat.hadid-lang v0.8.0)
The official Hadid Programming Language extension is packaged and ready to install today — bringing custom file icons, full bilingual TR/EN syntax highlighting, automatic formatting, LSP IntelliSense, and one-click execution to VS Code, Cursor, and Antigravity IDE.
Extension Highlights
- Official File Icons: Crisp light & dark 3D cobalt H SVG icons for
.hadfiles, custom manifest icon forhadid.toml&hadid.lock, and the Hadid File Icons theme. - Complete v0.8 Bilingual Highlighting: All English and Turkish keywords, generics (
Option<T>,Result<T, E>,List<T>), variants (Some,None,Ok,Err,Empty),=>match arrows, Turkish UTF-8 identifiers, and 70+ standard library builtins. - Automatic Formatting (Format Document & Format on Save): Powered by
hadid lsp(textDocument/formatting) preserving generics,=>, and multi-line/* ... */comments idempotently. - One-Click Commands & 15 Bilingual Snippets: Title-bar ▶ Run Current File, Build Native Binary, Check, Run Tests, New Project (TR/EN), plus snippets (
fn,fonksiyon,struct,yapi,enum,sayim,matchr,eslestirr,webapi,sqlite,htest).
Install Today (Direct .vsix Download)
Download hadid-lang-0.8.0.vsix from the HADID Download Center or install from your terminal in one command:
sh
# Install Hadid SDK + VS Code extension together:curl -fsSL https://dgtalhat.com/hadid/install.sh | sh -s -- --with-vscode# Or install the VS Code extension standalone:curl -fsSLO https://dgtalhat.com/downloads/hadid/v0.8.0/hadid-lang-0.8.0.vsixcode --install-extension hadid-lang-0.8.0.vsix --forceEnable Format on Save (settings.json)
json
{ "[hadid]": { "editor.defaultFormatter": "digitalhat.hadid-lang", "editor.formatOnSave": true }}Built-in hadid lsp Capabilities
Powered directly by Hadid's recoverable C frontend, formatter, and RFC 8259 JSON engine over standard Content-Length JSON-RPC 2.0 framing:
| Capability | Behavior |
|---|---|
textDocument/publishDiagnostics | Real-time lexer/parser/semantic diagnostics on open, change, and save |
textDocument/hover | Signatures for all TR/EN builtins and user declarations |
textDocument/definition | Jump to definitions in the current file or directly imported modules |
textDocument/completion | Bilingual keywords, types, builtins, and in-scope user symbols |
textDocument/formatting | Idempotent generic/match/comment-safe formatting via hadid fmt |
textDocument/documentSymbol | Outline & Breadcrumbs symbol tree for functions, structs, enums, consts, and vars |
