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 - Code completion: Duplicate items for code templates when configured for multiple contexts
Summary: Code completion: Duplicate items for code templates when configured for multi...
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-21 15:36 UTC by markiewb
Modified: 2013-07-01 22:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue (55.13 KB, image/png)
2013-06-21 15:36 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
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