Adds context-aware autocomplete, diagnostics, hover documentation, and syntax highlighting for Datastar to IntelliJ IDEs.
- Datastar attribute, modifier, and native event completion
- Datastar action completion and parameter information
- Attribute key and value validation
- Documentation for attributes, actions, and signals
- Document-local signal and nested-property completion
- Go to declaration, find usages, and rename for signals
- Datastar attribute, action, and signal highlighting
Install Datastar from the JetBrains Marketplace, or install a ZIP produced by
./gradlew buildPlugin using Settings | Plugins | Install Plugin from Disk.
Use Settings | Languages & Frameworks | Datastar to configure enabled file
extensions and custom Datastar attributes. Custom attributes are entered without
the data- prefix.
./gradlew test
./gradlew buildPlugin
./gradlew runIde
./gradlew verifyPluginThe plugin targets IntelliJ Platform 2023.3 and later. Native features are registered for HTML and XML PSI, including template languages that expose embedded HTML PSI.
This plugin is licensed under the MIT License.