This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 60420 - "surround with try/catch" feature is needed
Summary: "surround with try/catch" feature is needed
Status: RESOLVED DUPLICATE of bug 35661
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 09:57 UTC by alskor
Modified: 2005-09-05 10:11 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alskor 2005-06-23 09:57:39 UTC
"surround with try/catch" feature is needed:

JBuilder has this feature: when you select a java code and click CTRL+SHIFT+C,
it surrounds the code with try-catch lines, required for this code.

it would be great if NetBEans has this also
Comment 1 alskor 2005-06-23 10:13:59 UTC
it looks like this issue is already described here.
I'm marking my own request as "duplicate of bug #28971".

it's a pitty that there are some many good requests, which are not implemented
yet :(

*** This issue has been marked as a duplicate of 28971 ***
Comment 2 Martin Matula 2005-06-23 10:26:05 UTC
As you can see from issue 35661, the basic version of this feature is already
there (in dev builds) - just select a block of code and hit ctrl+alt+S or
rightclick on the block and select "Surround with try-catch" in the pop-up menu.
As you can also see issue 28971 is a duplicate of 35661 - please do not set
something to be a duplicate of a duplicate. I am going to make this a duplicate
of issue 35661.
Comment 3 Martin Matula 2005-06-23 10:26:35 UTC

*** This issue has been marked as a duplicate of 35661 ***