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 123849 - "Tab acceptance" completion
Summary: "Tab acceptance" completion
Status: RESOLVED DUPLICATE of bug 108168
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-11 22:30 UTC by scwells72
Modified: 2007-12-12 09:20 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 scwells72 2007-12-11 22:30:53 UTC
I'm traditionally an IDEA user who has recently found NetBeans.  I'm quite
impressed and have started using it as my primary IDE for personal dev (still
using IDEA at work because of the lack of Perforce support).  One place where I
feel like NetBeans doesn't work quite like IDEA is in one aspect of code
completion.  In IDEA if I want to change the call to a given method (or
reference to any other given identifier), I can place the cursor at whatever
point I want in the identifier name, e.g.,:

myObject.setProperty(value);
            ^

and press CTRL-SPACE to see other possible completions for "myObject.set".  So
far this works fine in NetBeans, too.  However, in IDEA once I choose a
completion, e.g., "setName(String name)", I can press the TAB key to replace
whatever is already there with the new completion.  So basically
"myObject.setProperty(value)" would become "myObject.setName()" with the cursor
ready to configure the parameter list:

myObject.setName();
                 ^

This has become a significant part of my workflow in IDEA and I'm having trouble
adjusting to its absence on NetBeans.  I've posted to the nbuser list asking if
it's actually in NetBeans and I just don't know how to use it, but the response
so far has been that it's not part of the feature set.  As a result, I'm creating
this enhancement request.
Comment 1 Vitezslav Stejskal 2007-12-12 09:20:32 UTC
Thanks for a nice usecase description. Yes, this is a big pain with current code completion in Netbeans. It was actually
already filed as issue #108168, even though I think your description is much clearer. Thanks for using Netbeans!

*** This issue has been marked as a duplicate of 108168 ***