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 67505 - [50cat] TAB doesn't work in code completion like it used to
Summary: [50cat] TAB doesn't work in code completion like it used to
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-10-25 16:25 UTC by Roman Strobl
Modified: 2007-11-05 13:38 UTC (History)
1 user (show)

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 Roman Strobl 2005-10-25 16:25:04 UTC
[NetBeans 200510231800; FC4; JDK 1.5.0_05]

Issue Summary:
--------------
In NetBeans 4.1 it was possible to invoke TAB in code completion to get the
common option typed in. It doesn't work in 5.0 anymore.

Steps to Reproduce:
-------------------
1. Create a new class.
2. Type in "import jav|"
3. Invoke code completion on place designated by |.
4. Press TAB.
-> "java" should be prefilled as it's the common text from the available options.
Comment 1 clever 2005-10-26 21:26:48 UTC
I just verified this to be a problem in 20051025....
I, too miss the tab complete.  Switching from different IDE's, I find myself
hitting tab out of instinct to invoke code completion. This just seems to be one
of those 'universal' keys. (Kinda like Control-C for copy | or kill on Unix :))
Comment 2 Dusan Balek 2005-11-08 14:18:12 UTC
Should be fixable into 5.0 - requires a small change to the code completion SPI
(see issue 68235).
Comment 3 Dusan Balek 2005-11-11 13:28:39 UTC
Fixed in [maintrunk].

Checking in src/org/netbeans/modules/editor/completion/CompletionImpl.java;
/cvs/editor/completion/src/org/netbeans/modules/editor/completion/CompletionImpl.java,v
 <--  CompletionImpl.java
new revision: 1.30; previous revision: 1.29
done
Comment 4 Roman Strobl 2005-11-21 13:32:43 UTC
Verified.