Bug 170019

Summary: [quick fix] surround with try/catch is not keybindable
Product: [Eclipse Project] JDT Reporter: Zorzella Mising name <zorzella>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

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"