Overview of the Godot Kotlin/JVM IntelliJ Plugin
masterThe Godot Kotlin/JVM IntelliJ Plugin provides focused, K2-only code insight specifically for Godot Kotlin/JVM projects. It is designed to improve the developer experience by validating Godot-specific annotations and patterns directly within the IntelliJ IDEA editor.
Key Capabilities:
- Annotation Validation: Validates usage of
@Script,@Visible,@Register,@Emit,@Export, and@Rpc. - Code Insight: Highlights Godot script declarations (ineligible, candidates, or registered) and validates callable-reference usage for signals,
call, andrpcpatterns. - Error Detection: Detects common pitfalls like nested mutation of core-type copies (e.g.,
transform.basis.x.x = 1.0). - Quick Fixes: Provides automated repairs for registration and mutability mistakes.
- Project Wizard: A built-in wizard to create new Godot Kotlin/JVM projects and modules using optimized templates.