Tools
Jda Tools
Development tools for the Jda programming language.
IDE Extensions
| Tool | Description |
|---|---|
| VS Code Extension | Syntax highlighting, LSP, formatting, diagnostics |
| JetBrains Plugin | Syntax highlighting, LSP, bracket matching, folding |
CLI Tools
| Tool | Command | Description |
|---|---|---|
| Compiler | jda build | Compile .jda files to native binaries |
| Formatter | jda fmt | Format source code (4-space indent) |
| Test Runner | jda test | Run conformance tests |
| Benchmarker | jda bench | Micro-benchmarking |
| Package Manager | jda pkg | Install, search, and manage packages |
| Doc Generator | jda doc | Generate HTML/Markdown documentation |
| Fuzzer | jda fuzz | Fuzz testing |
| Race Detector | jda race | Detect data races |
| LSP Server | jda-lsp | Language server for IDE integration |
JetBrains Plugin
IntelliJ IDEA / CLion / WebStorm plugin for the Jda programming language.
Features
- Syntax Highlighting – keywords, types, builtins, strings, numbers, comments
- LSP Integration – go-to-definition, hover, diagnostics, completion via
jda-lsp - Bracket Matching – braces
{}, brackets[], parentheses() - Code Folding – fold function bodies and struct definitions
- Commenter – toggle line comments with
; - Color Settings – customizable colors under Settings > Editor > Color Scheme > Jda
- File Type –
.jdafile recognition with icon
Installation
Option 1: Build from source
cd tools/jetbrains-jda
./gradlew buildPluginThen in your JetBrains IDE: Settings > Plugins > Gear icon > Install Plugin from Disk, and select the .zip from build/distributions/.
VS Code Extension
Syntax highlighting, code intelligence, and formatting for the Jda programming language.
Features
- Syntax Highlighting – keywords, types, builtins, strings, numbers, comments
- Go-to-Definition – jump to fn/struct/enum/const declarations
- Hover Documentation – documentation for keywords and user-defined functions
- Completion – keywords, symbols, and variables in scope
- Document Symbols – outline view (fn, struct, enum, const, impl)
- Formatting – 4-space indent normalization
- Diagnostics – tab and trailing whitespace warnings
Installation
Option 1: Install from source (development)
# From the repo root
cd tools/vscode-jda
npm install
code --install-extension .Option 2: Symlink for development
# Link the extension into VS Code's extensions directory
ln -s $(pwd)/tools/vscode-jda ~/.vscode/extensions/jda-langThen reload VS Code (Cmd+Shift+P -> “Developer: Reload Window”).