Hi

At the moment, I process Exception syntax errors by writing some code, then
compiling, and seeing messages like 'unreported exception x; must be caught
or declared to be thrown', and then having to add a try..catch or a throws
to the method.  I think IDEA could do something in this area -- spotting
uncaught exceptions and doing something in response.

The 'light bulb' drop-down being used for the "Coding by Intention" feature
might be useful here -- I use an uncaught Exception, then a light bulb
appears with options to 'add throws to method' or 'add try...catch block'.
If I select the latter, IDEA should then get me to select the block I want
to surround, then press 'OK' to add a try..catch.

Cheers,
Ben.




_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to