Spring SpEL operator - incorrect syntax
Hello,
I have noticed that IntelliJ IDEA shows me the "incorrect syntax" when I use the SpEL "first matching selection" operator
.^[] in the spring xml config file.I have attached the screenshot with that problem:

Is this a bug or a correct behaviour?
There are no problems with others SpEL operators.
(IntelliJ IDEA 12.0.4 build 123.169)
--
Regards,
Jarek
Please sign in to leave a comment.
This construction is not supported yet. Please create a ticket.
I have just created the ticket:
http://youtrack.jetbrains.com/issue/IDEA-101548
Hi,
i have a similar issue with a spEL expression in property placeholder:
@Value("#{ ${sleep_interval:5} * T(org.apache.commons.lang3.time.DateUtils).MILLIS_PER_SECOND }")
private int SLEEP_INTERVAL;
I get numerous (incorrect?) warnings/errors from IntelliJ code analysis even tho' there is no problem with actually compiling and running this code:
warning: cannot resolve namespace 'sleep_interval'
error: Identifier expected
warning: cannot resolve function '5'
error: ( expected
Is this a known limitation in support for SpEL or is there a way around it?
thx,
arun
Arun, this looks like http://youtrack.jetbrains.com/issue/IDEA-108506