Bug 64677 - Editor does not allow to surround with try/finally block
Summary: Editor does not allow to surround with try/finally block
Status: RESOLVED DUPLICATE of bug 15374
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-29 13:32 EDT by Wendell Beckwith CLA
Modified: 2004-05-30 09:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wendell Beckwith CLA 2004-05-29 13:32:17 EDT
Currently it is possible to surround code with a try/catch, but there is no
facility to surrond with a try/finally.  If the highlighted code does not throw
checked exceptions, then a dialog pops up to allow the user to chose whetehr to
catch a RuntimeException.  There should a a new menu item, or a way in the
dialog to choose to do a try/finally instead.
Comment 1 Dirk Baeumer CLA 2004-05-30 09:12:43 EDT
This can be done using templates. See comments in bug 15374.

*** This bug has been marked as a duplicate of 15374 ***