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 203796 - Code completion doesn't suggest labels
Summary: Code completion doesn't suggest labels
Status: RESOLVED DUPLICATE of bug 149781
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 06:45 UTC by dbell
Modified: 2011-10-17 06:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dbell 2011-10-17 06:45:33 UTC
[ BUILD # : 201110140600 ]
[ JDK VERSION : 1.6.26 ]

In the Java editor, labels aren't suggested by code completion.

Actual behaviour:
Invoke code completion (Ctrl-Space) at the point indicated by the caret.
Neither label will be suggested by code completion.

doingSomething: {
    doingSomethingSpecific: {
        break |;
    }
}

Expected behaviour:
The editor should suggest both labels ("doingSomething", "doingSomethingElse")
as options to clarify which block to break from.
Comment 1 Jiri Prox 2011-10-17 06:48:31 UTC

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