Bug 170019 - [quick fix] surround with try/catch is not keybindable
Summary: [quick fix] surround with try/catch is not keybindable
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-09 16:43 EST by Zorzella Mising name CLA
Modified: 2009-01-23 11:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zorzella Mising name CLA 2007-01-09 16:43:45 EST
There's a keybind for "Quick Fix -- Add throws declaration" and even one for "surround with try/catch", but not one for "Quick Fix -- Surround with try/catch".

Though the non-quick fix is almost as good, it does not work very properly in some circumstances. E.g. I had to refactor a number of methods to surround their return statements with a try/catch/rethrow. But as I navigates the "problems" (Ctrl->), Eclipse (correctly) highlighted the statement in the return, but not the return statement itself, so I could not immediately use the existing "surround with try/catch" before also selecting the "return statement"