3396 - jsp code exceptions as warnings, how to globally disable html warnings
well, with 3396 we almost have what we need:
1. jsp code exceptions are no longer marked as errors, but they are now marked as needing some treatment, which is false. moreover the ide suggests to insert a static import, which has no relation with the issue at hand
2. now we can turn off html "validation" on a single file (on my xp changing this setting makes the fatal errors regularly fill with menacing messages), but how to globally turn it off, and eventually turn it on on a single, peculiar file (making the dearing assumption that there ever will be a need for html validation :) ) ?
p.s. practically any kind of html is marked as invalid :-D, but this is quite secondary
Please sign in to leave a comment.
3397:
is still there
>moreover the ide suggests to insert a static import, >
>which has no relation with the issue at hand
this is fixed
this is possible in settings -> errors -> html ..
"jsp code exceptions are no longer marked as errors, but they are now marked as needing some treatment" is still there in 3403, which makes jsp pages quite hard to read!! and the splash screen already gives it as version 5, so you are approaching release...
panic help! :'(
DONT PANIC!
What is wrong with unhandled exceptions in jsp warnings?
What is the point of having jsp, the sole result of which, being deployed,
is to show "500 Server Error" page ?
--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"
"Pietro Polsinelli" <pietrobrooks@hotmail.com> wrote in message
news:3628488.1121265703617.JavaMail.javamailuser@localhost...
>
I didn't explain myself. Here's an example: suppose I have a method in a class of the kind
public boolean congratsForBabyGirl() throws ItsAMaleException
now if I use it in a jsp, I should not be forced to handle the exception; actually in jsps almost never you do handle such exceptions (the compiled servlet does it for you). And there is no 500 exception thrown (see www.500servletexception.com :) ). And from version 3 until very recent eaps, this is how intellij behaved: if I used congratsForBabyGirl() in a jsp page, the code was marked as peachy. but with the latest releases, it it menaciously marked brown, the semaphore is yellow instead of green, and we are all unhappy. and there is no error/highligth or whatever wodoo action that makes the warnings go away.
Yes, the beahviour has changed recently when this feature was implemented:
http://www.jetbrains.net/jira/browse/IDEADEV-1799
--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"
"Pietro Polsinelli" <pietrobrooks@hotmail.com> wrote in message
news:13914554.1121508874079.JavaMail.javamailuser@localhost...
>I didn't explain myself. Here's an example: suppose I have a method in a
>class of the kind
>
>
>
>
Thanks for the link; is there a way to turn it off ? Or will there be ? I can't find the option.