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 251154

Summary: Code completion offers all even non matching attributes
Product: javascript Reporter: Vladimir Riha <vriha>
Component: JadeAssignee: Petr Pisl <ppisl>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P4    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2015-03-13 10:24:47 UTC
Please try:

div(class="", d)


and invoke code completion after the ", d"
=> code completion offers all attributes, even those not starting with "d". Since the first starting with "d", it is not a big deal but if you now press e.g. "a", so the code is

div(class="", da)

code completion now offers only 2 attributes, just those starting with "da". If you now press Backspace to remove "a", code completion shows all attributes starting with "d".

So the minor problem is the inconsistency, that sometimes it offers all attribute with focus on 1st matching attribute, sometimes it offers only matching attributes.


Thank you


Product Version: NetBeans IDE Dev (Build 201503130001)
Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2015-03-17 13:44:10 UTC
Fixed in web-main.
Comment 2 Quality Engineering 2015-03-18 03:28:50 UTC
Integrated into 'main-silver', will be available in build *201503180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/73557c10af42
User: Petr Pisl <ppisl@netbeans.org>
Log: #251154 - Code completion offers all even non matching attributes
Comment 3 Vladimir Riha 2015-03-30 20:10:50 UTC
Thank you, verified


Product Version: NetBeans IDE Dev (Build 201503300001)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.13.0-45-generic running on amd64; UTF-8; en_US (nb)