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.
Summary: | Code-complete via Tab key | ||
---|---|---|---|
Product: | editor | Reporter: | Geertjan Wielenga <geertjan> |
Component: | Completion & Templates | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | NumbLock27 |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Geertjan Wielenga
2012-02-10 05:40:56 UTC
There is a small problem - hitting 'Tab' while code completion is showing inserts common prefix of all displayed completion items - feature of the NB editor from its early days :-( Is there a way that in the Idea profile, this could be implemented differently? I.e., in the Idea profile, the Tab key would behave the same as Enter? Unfortunately, the current behavior is hardcoded in the code completion infrastructure :-( It would be good if all the keyboard shortcuts in the code completion box could be configured by the user in the Options window. Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/7b4644780ee1 Hitting 'Tab' default behavior has been changed: If there is no common prefix to insert, the selected code completion item gets inserted now. (At most 2 hits of 'Tab' are sufficient to insert the selected completion item into a document now). Integrated into 'main-golden', will be available in build *201202240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7b4644780ee1 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #208223: Code-complete via Tab key - fixed. *** Bug 209667 has been marked as a duplicate of this bug. *** |