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 254940 - Allow customizable behavoir of tab in the code completion pop-up
Summary: Allow customizable behavoir of tab in the code completion pop-up
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-02 15:35 UTC by brian26198
Modified: 2015-09-02 15:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brian26198 2015-09-02 15:35:53 UTC
I wish there were more customizability in the behavior of the code completion pop-up. 

For example, suppose in java I declare two variables: `int rectangleHeight;` and `int rectangleWidth;`

Now I want to write a new statement `int rectangleArea = rectangleHeight * rectangleWidth;`

So I type `int rectangleArea = rectan`, and the autocompletion box pops up and it shows two options. If I press tab, it executes the autocompletion for the currently selected entry, which is the first entry, since I haven't pressed any arrows keys. However, this is not the behavior I would want. In fact, this behavior seems counter-intuitive to me because it is not how bash behaves. I would like to be able to configure autocompletion so that you have the same options you have with bash. For example, the way I have bash configured now, the first tab would extend `rectan` to `rectangle` and leave the completion pop-up open. Then subsequent tab presses would cycle between `rectangleHeight`, rectangleWidth`, and `rectangle`.

So in summary, my feature request is to be able to customize the behavior of tab in autocompletion the same way you can customize it in bash.