Hi all,
I'm happy to announce that the DRL Editor extension 1.0.0 is now available on the VS Code Marketplace:
https://marketplace.visualstudio.com/items?itemName=drl-editor.vscode-extension-drl-editorThis extension provides language support for DRL (Drools Rule Language) files.
Note that this is NOT an official Apache KIE (incubator) release. We are working on a migration to Apache KIE code base, but at this moment, this is a third party extension. We expect that it will be an official extension in the near future.
Features include:
- Code completion (keywords, Java classes, fields/properties, DRL declared types)
- Go-to definition, find references, rename
- Syntax and lint diagnostics with quick-fixes
- Hover tooltips with doc-comment rendering
- Document symbols, type hierarchy, folding ranges
- Inlay hints, code lens (reference counts)
- Live class index refresh on recompile
Not yet included (planned for future releases):
- RHS (then clause) completion
- Java class method completion in RHS (e.g. $p.getName())
- Debugger support
- ...
Requirements:
- Java 17+
- Maven (for classpath resolution)
To install, search "DRL Editor" in VS Code Extensions (Ctrl+Shift+X), or visit the Marketplace link above.
This is the first release, so we'd love to hear your feedback — whether it's a bug, a missing feature, or something that could work better. Please give it a try and let us know at:
https://github.com/kiegroup/drools-lsp/issuesThanks,
Toshiya