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 241752 - [Completion] Missing separating line for enum in switch context
Summary: [Completion] Missing separating line for enum in switch context
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-12 10:26 UTC by ssazonov
Modified: 2014-02-19 02:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
img (76.98 KB, image/png)
2014-02-12 10:26 UTC, ssazonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ssazonov 2014-02-12 10:26:12 UTC
Created attachment 145080 [details]
img

1. Create java class:

package completion;

public class NormalSwitch {
    
    enum Type {INTEGER,DOUBLE,STRING}
    
    public NormalSwitch(Type t) {
        switch (t) {
            case 
        }
    }
    
}

2. Put caret behind "case " and using Ctrl+Space invoke code completion

>> There is missing separating line in CC dialog (see attached image)

Product Version: NetBeans IDE Dev (Build 201402120001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b67
Runtime: Java(TM) SE Runtime Environment 1.8.0-b126
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Dusan Balek 2014-02-14 20:11:37 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/ed378b536da2
Comment 2 Quality Engineering 2014-02-19 02:45:52 UTC
Integrated into 'main-silver', will be available in build *201402190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ed378b536da2
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #241752: Missing separating line for enum in switch context - fixed.