Now that 3386 has fixed the 100% cpu system thrashing bug
when loading JSP files, I have been checking out how IDEA
Following are biggest issues I found:
(1) IDEA doesn't resolve variables defined in included JSP files.
Most of the incorrect errors IDEA is flagging in my JSP
files are because all our JSPs include another
"GlobalCode.jsp" which defines some variables like
These variables are referenced in the main JSP pages. IDEA
doesn't resolve them from the included "Global.jsp" and
flags them as "unresolved symbols". (See attached pic).
Non-trivial JSP include file="" lead to red code in including JSP
JSP parser gets confused by includes
(2) IDEA is flagging unhandled exceptions as errors even though
errorPage is defined.
Exception is reported unhandled in JSP
Exceptions reported as unhandled in JSP
(4) One formatting item I did try was the option to a separate
page import directive for each import. When I reformatted a JSP
which had a single page import directive for 20 classes, it had no
effect. (Also, the reformat took a very long time like 45 seconds; Seems
slower than reformatting an equivalent java file.)
JSP imports layout ->]]></span> Prefer one import statement per page directive selected has no effect.<br/><br/><br/>A couple exceptions I hit while loading JSP files. The number of exceptions<br/>is way down with build 3386. Looking more stable.<br/><br/>http://www.intellij.net/tracker/idea/viewSCR?publicId=49964<br/>http://www.intellij.net/tracker/idea/viewSCR?publicId=49959</p><br/><br/>Attachment(s):<br/><a href="http://adm-10980.intellij.net/zendesk-forum-storage/jc/4880371/unresolved_symbol_login_from_included_jsp.gif">unresolved_symbol_login_from_included_jsp.gif</a><br/>