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.jda file recognition with icon

Installation

Option 1: Build from source

cd tools/jetbrains-jda
./gradlew buildPlugin

Then in your JetBrains IDE: Settings > Plugins > Gear icon > Install Plugin from Disk, and select the .zip from build/distributions/.

Option 2: Development mode

cd tools/jetbrains-jda
./gradlew runIde

This launches a sandboxed IDE instance with the plugin loaded.

Requirements

  • IntelliJ IDEA 2024.1+ (or any JetBrains IDE based on IntelliJ Platform 241+)
  • Java 17+ (for building)
  • jda-lsp.sh for LSP features (auto-detected from project tools/ or PATH)

LSP Configuration

The plugin auto-detects jda-lsp.sh in:

  1. <project-root>/tools/jda-lsp.sh
  2. jda-lsp or jda-lsp.sh on PATH

If not found, LSP features (go-to-definition, hover, diagnostics) will be unavailable. Ensure jda-lsp.sh is executable and accessible.

File Association

The plugin automatically associates .jda files with the Jda language. No manual configuration needed.