Invalid visualforce expression highlighting
Issue #114
resolved
on the rendered attribute, attribute value is mistakenly highlighted as wrong.
Comments (6)
-
repo owner -
reporter OK thanks.
-
reporter Very funny workaround... reopen the project and highlighting would be correct.
-
repo owner That is strange. I would think that IntelliJ would highlight it consistently one way or the other. Either way I'll debug into it soon after I recover a bit more from the past week at Dreamforce.
-
repo owner - removed version
-
repo owner - changed status to resolved
I've not seen this myself in a long time, nor have I heard it reported in quite a while. Resolving for now but feel free to reopen if you see it again.
- Log in to comment
Thanks for the report. Yeah, there are still a few places where IntelliJ tries to validate the VF expression as matching the expected data type for the XML attribute, e.g., boolean or constrained list, and doesn't have any way to infer a data type from the expression (which stinks because I could actually supply the correct one if IDEA would just ask me!). There are ways to suppress these errors, though, and evidently I didn't handle this variant yet. I'll see if I can include it in one of the upcoming releases.