IntellijAlpine
IntellijAlpine copied to clipboard
Prevent IDE warning about missing required attributes when bound instead
It would be great if using bindings for DOM element required attributes didn't result in an IDE warning for "missing" attributes.
For example, the <img>
element requires a src
attribute. But when this is bound, PhpStorm doesn't understand that src
is taken care of by :src
and shows a warning:
I prefer the bad warning to turning off that inspection, but thought there might be a way around this.
The most recent PR (https://github.com/inxilpro/IntellijAlpine/pull/46) should fix that, while it's not merged you can refer to https://github.com/joao-pedro-braz/IntellijAlpine/releases/tag/v0.6.1 for an unsigned release.
Thank you so much!
It would be really great if this could get fixed :)