inxilpro / IntellijAlpine

Alpine.js plugin for IntelliJ IDEs like PhpStorm and WebStorm.
MIT License
49 stars 11 forks source link

Formatting for @event vs x-on:event for custom events #49

Closed praetoros closed 11 months ago

praetoros commented 1 year ago

image

As far as I can tell, both of these should be valid, but I am getting an error "Namespace '@htmx' is not bound" with the top line, I assume due to the :.

@htmx:confirm="" x-on:htmx:confirm=""

inxilpro commented 11 months ago

Hm, yeah. I'm not really sure about how this would be impacted by HTMX. Honestly, that's probably outside of the scope of this plugin. Technically @htmx:confirm is not valid XML, but it works just fine. I'd be happy to look at a PR, but I'm not sure that this plugin will ever work great with HTMX…