Skip to content
This repository was archived by the owner on Aug 14, 2026. It is now read-only.

Features

Toshiya Kobayashi edited this page Jul 2, 2026 · 3 revisions

Current features (as of 2026/07/02)

Code Editing

  • Code color highlighting
  • Code completion
    • Grammar keywords
    • Java class names in LHS pattern positions (import-aware ranking)
    • Fields and properties inside pattern constraints (bean properties, enum constants, public fields)
    • DRL declare types (including cross-file within the workspace)
  • Inlay hints for bound variables (configurable via extension setting)
  • Live class index refresh on recompile (no server restart required)

Navigation

  • Go-to definition for DRL and Java types
  • Find references for DRL types and bound variables
  • Rename for DRL declared types and bound variables
  • Document symbols (outline view)
  • Type hierarchy for DRL types
  • Folding ranges for DRL blocks and comments

Diagnostics

  • Syntax error diagnostics (parser-error reporting)
  • Lint diagnostics (fast, parser-free)
  • Unknown-type lint with typo quick-fix for DRL-declared types

Information

  • Hover tooltips for DRL/Java types with doc-comment rendering
  • Reference-count code lens for DRL declared types

Confirmed clients

  • VS Code
  • Neovim

See https://github.com/kiegroup/drools-lsp/blob/main/README.md

Note: Many of the above features are VS Code only.

Expected features (Not yet implemented)

  • RHS (then clause) completion
  • Java class method completion in RHS (e.g. $p.getName())
  • Auto-import on completion accept
  • Connect with other Java LSP (e.g. get javadoc of JDK or library classes using hover message)
  • Function name completion
  • Function parameter completion
  • Gradle project support (currently Maven only)
  • DRL declare type completion in pattern positions (types defined in DRL)
  • Re-indexing on pom.xml changes (new dependencies require server restart)
  • Debugger support ( https://microsoft.github.io/debug-adapter-protocol/ )