I like your suggestion. Maybe it could work something like the bracket-like line that shows up in the far left grey column when you close a brace. Instead of just going to the opening brace, have it point out the methods that throw the catch.
-- Rick -----Original Message----- From: Bartley, Chris [mailto:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 3:15 PM To: [EMAIL PROTECTED] Subject: [Eap-features] Determining which lines within a try block throw a certain except ion I love that i can CTRL-click on a method and get a pop-up detailing method signature, return type, exceptions thrown, etc. But i'd also love to be able to go the opposite direction and have an easy way to determine which methods within a particular try block throw a certain exception. For example, if i have the following code: try { Foo foo = bar.doSomething(); foo.doSomethingElse(); bar.doAnotherThing(); // and so on... } catch (HarmlessException he) { ... } catch (PrettyBadException he) { ... } catch (AwfulException he) { ... } I'd love to be able to CTRL-click on one of the "catch" keywords and have IDEA highlight any methods in the corresponding try block that can throw that type of exception. Any chance something like this could be added? Many thanks for creating such a fabulous IDE! :D chris _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
