Skip to content

Repository files navigation

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.

About

Adds autocomplete, diagnostics, hover documentation, and syntax highlighting for Datastar to IntelliJ IDEs.

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages