Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.53 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.53 KB

Datastar IntelliJ Plugin

Version Downloads

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

Installation

Install Datastar from the JetBrains Marketplace, or install a ZIP produced by ./gradlew buildPlugin using Settings | Plugins | Install Plugin from Disk.

Configuration

Use Settings | Languages & Frameworks | Datastar to configure enabled file extensions and custom Datastar attributes. Custom attributes are entered without the data- prefix.

Development

./gradlew test
./gradlew buildPlugin
./gradlew runIde
./gradlew verifyPlugin

Compatibility

The 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.

License

This plugin is licensed under the MIT License.