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.
Summary: | [60cat] Generated try, catch code is greedy | ||
---|---|---|---|
Product: | java | Reporter: | rationalpi <rationalpi> |
Component: | Hints | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
rationalpi
2007-10-02 22:02:13 UTC
Well, please note that there are two surround with try-catch hints: -one, bound to the error -another, selection based: if you select a piece of code (the caret needs to be on line without error, currently), a lightbulb suggesting to wrap the selection with try-catch should appear. Excellent. I like the selection based "Surround with....". I wasn't aware that was there. I think I'll use that a lot. Is there a way that the selection based "Surround With Try {... could ALSO be mapped to the error. That would exactly what I'm asking for. Thanks. Resolving all issues with milestone "future" as LATER. If you feel strongly that it should be implemented please reopen and set the target milestone to "next". NetBeans.org Migration: changing resolution from LATER to WONTFIX |