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 251018 - <TAB> during code completion of arg from previous completion arg-list does the wrong thing
Summary: <TAB> during code completion of arg from previous completion arg-list does th...
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-08 18:52 UTC by err
Modified: 2015-04-01 13:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description err 2015-03-08 18:52:59 UTC
In otherwise empty method, given:
        Map m;
    - enter
        m.p<ctrl-space><enter>
    observe now filling in first argument to put.
    - enter
        arr<ctrl-space>
    code completion shows list of two things (kind of nonsence but...)
    - enter
        <tab>
    expect common prefix inserted, but moves to next arg.

I saw some issues about expanding template inside template when tab entered.
But in this case there should be no ambiguity I think. Since code completion
window is displayed, it should get first shot at the tab.
Comment 1 Dusan Balek 2015-03-10 12:01:00 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/169dc133410e
Comment 2 Quality Engineering 2015-03-13 03:13:43 UTC
Integrated into 'main-silver', will be available in build *201503130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/169dc133410e
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #251018: <TAB> during code completion of arg from previous completion arg-list does the wrong thing - fixed.