pcbowers / alpine-intellisense

IntelliSense for Alpine.js
https://marketplace.visualstudio.com/items?itemName=pcbowers.alpine-intellisense
MIT License
19 stars 1 forks source link

[Feature Request:] Support for attributes that are created via helper functions in php #16

Open hirasso opened 5 months ago

hirasso commented 5 months ago

Hi there!

first of all: Amazing work on this package! Reading the regexes makes my brain hurt 😄

I'm having a use case where I don't know how common it is. I construct my html attributes via a helper function attr(), where each attribute is in 'key' => 'value' form. alpine-intellisense picks some attributes up, others don't work. Here's an example:

CleanShot 2024-06-07 at 22 20 41@2x

Would you guys be interested in adding support for this kind of syntax?