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 231648

Summary: Code completion: Duplicate items for code templates when configured for multiple contexts
Product: editor Reporter: markiewb
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Shows the issue

Description markiewb 2013-06-21 15:36:11 UTC
Created attachment 136155 [details]
Shows the issue

* enable a template to be visible in multiple context
* code complete

ACTUAL: code completion item for this template is shown twice (or more times) - see screenshot
EXPECTED: code completion item for this template is only shown once
Comment 1 markiewb 2013-06-21 15:36:26 UTC
Product Version: NetBeans IDE Dev (Build 201306181109)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 2 Dusan Balek 2013-06-24 08:58:14 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/a1e15dcb9077
Comment 3 Quality Engineering 2013-06-26 02:28:51 UTC
Integrated into 'main-golden', will be available in build *201306252301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a1e15dcb9077
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #231648: Code completion: Duplicate items for code templates when configured for multiple contexts - fixed.
Comment 4 markiewb 2013-07-01 22:47:40 UTC
Verified in 201307011244