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 248010

Summary: Subword completion does not propose most correct match
Product: java Reporter: markiewb
Component: EditorAssignee: Dusan Balek <dbalek>
Status: VERIFIED FIXED    
Severity: normal CC: DanielBr
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Windows 7   
See Also: https://netbeans.org/bugzilla/show_bug.cgi?id=248116
https://netbeans.org/bugzilla/show_bug.cgi?id=254111
Issue Type: DEFECT Exception Reporter:
Attachments: Example

Description markiewb 2014-10-18 06:32:38 UTC
Created attachment 149970 [details]
Example

Example:

* Multiple variables "values", "valueToSet" are defined in code
* complete "valus|" (| defines the caret)

ACTUAL:
"valueToSet" is proposed and selected (higher prio than "values")

EXPECTED:
"values" is proposed and selected (higher prio than "valueToSet")
Comment 1 markiewb 2014-10-18 06:33:44 UTC
Perhaps my issue is a dup of https://netbeans.org/bugzilla/show_bug.cgi?id=241749 ?
Comment 2 Dusan Balek 2014-10-20 08:48:08 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/29ffe65d3a51
Comment 3 Quality Engineering 2014-10-29 11:41:37 UTC
Integrated into 'main-silver', will be available in build *201410290913* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/29ffe65d3a51
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #248010: Subword completion does not propose most correct match - fixed.
Comment 4 markiewb 2015-03-26 22:50:53 UTC
*** Bug 241749 has been marked as a duplicate of this bug. ***
Comment 5 markiewb 2015-04-03 07:55:12 UTC
Verified. Works fine. Thank you!

Product Version: NetBeans IDE Dev (Build 201504030001)
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25