Syntax Highlighting .tld function-signature
IntelliJ syntax highlighting in .tld files is telling me that my function-signature is incorrect because of a "different return type" when my return type uses generics. For example:
Correct function-signature in .tld:
java.util.Set getChildren(int)
Method signature:
public static Set getChildren(int entityId) { }
If I remove ]]> from the signature the syntax highlighting error disappears. More importantly ctrl-clicking on the signature in the .tld file takes me to the the method.
Is this a bug in IntelliJ? Is there a way to ignore this type of syntax highlighting, while still allowing the ctrl-click functionality?
Thanks for your help,
Michael
请先登录再写评论。
Seems to be a bug. No, it could not be switched off without loosing
control click functionality.
Michael Bacarella wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Thanks for the quick reply. Can't wait for a fix.
I noticed this bug was not fixed in 7.0.3. Will it be fixed in 7.0.4?
Thanks,
Michael
Idea highlights signature without type parameters in return type as
erroneous, is it correct?
Michael Bacarella wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Idea highlights signature without type parameters in return type as
erroneous, is it correct?
Almost ...
return type and/or arguments
http://www.jetbrains.net/jira/browse/IDEADEV-25320
will be fixed in 7.0.4
Michael Bacarella wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"