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 132112 - Code-complete should only list unused cases
Summary: Code-complete should only list unused cases
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 21:21 UTC by _ gtzabari
Modified: 2015-01-02 13:29 UTC (History)
1 user (show)

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 _ gtzabari 2008-04-04 21:21:57 UTC
Given:

switch (someEnum)
{
  case ONE:
  case <code-complete>
  case FIVE:
}

the IDE should list remaining values of someEnum which have not already been caught, such as ONE or FIVE. Currently it
lists all values regardless of whether they have already been caught.
Comment 1 markiewb 2015-01-02 13:29:29 UTC
Still valid in 8.0.2