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 50065

Summary: Request: "surrounging with..." function
Product: editor Reporter: pzgyuanf <pzgyuanf>
Component: Completion & TemplatesAssignee: Martin Roskanin <mroskanin>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: -FFJ-   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: code parse indicate code need a try/catch
right click and select the "surrounding with" item
the result of this function

Description pzgyuanf 2004-10-07 06:14:01 UTC
Current primary java IDEs all has "surrounging
with..." function for:
 - try catch block
 - if ... else ...
 - for each of JDK5.0

see the attachments of jdeveloper's "surrounding
with try/catch" snapshots.
Comment 1 pzgyuanf 2004-10-07 06:15:45 UTC
Created attachment 18114 [details]
code parse indicate code need a try/catch
Comment 2 pzgyuanf 2004-10-07 06:16:47 UTC
Created attachment 18115 [details]
right click and select the "surrounding with" item
Comment 3 pzgyuanf 2004-10-07 06:17:34 UTC
Created attachment 18116 [details]
the result of this function
Comment 4 pzgyuanf 2004-10-07 06:18:56 UTC
Eclipse 3.1 has more...
Comment 5 cezariusz 2004-10-07 08:15:09 UTC
Yes, it's very useful in Eclipse. You have my vote.
Comment 6 Roman Strobl 2005-04-22 13:33:46 UTC
This is a duplicate of a more general issue 35661. Increasing priority because
of duplicate, vote and real usefulness of the feature.

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