IntellijAlpine icon indicating copy to clipboard operation
IntellijAlpine copied to clipboard

Override Required Attributes Inspection for x-bind

Open joao-pedro-braz opened this issue 1 year ago • 1 comments

This commit overrides the default Required Attributes Inspection for XML, in a manner that accounts for bounded attributes.

This fixes https://github.com/inxilpro/IntellijAlpine/issues/44.

joao-pedro-braz avatar Sep 26 '23 23:09 joao-pedro-braz

When I run this I get the following:

com.intellij.diagnostic.PluginException: Short name 'RequiredAttributes' is not unique

I tried updating the short name in the plugin.xml file and overriding it in AlpineRequiredAttributesInspection which addresses the issue, but then it appears that this change doesn't do anything, because the following:

<img :src="getSrc()" :alt="getAlt()" />

Triggers:

image

Am I missing the intention of this PR?

inxilpro avatar Jan 02 '24 15:01 inxilpro