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 109139 - Code completion not showing in certain situations (Constructors, parameter list, etc)
Summary: Code completion not showing in certain situations (Constructors, parameter li...
Status: RESOLVED FIXED
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:
: 107203 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-09 15:18 UTC by aziz
Modified: 2013-05-29 07:04 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Example VID (1.00 MB, video/avi)
2007-07-09 15:19 UTC, aziz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aziz 2007-07-09 15:18:21 UTC
The code completion in certain situations does not work as expected, nor as how it used to work in 5.5. Take for example
the following code:

* | character (pipe) denotes the cursor

String s = new String(|)

^ In that situation, the line was typed up to the opening bracket (. The closing bracket ) was automatically inserted
and the cursor | was between the brackets (). What is expected is that a code completion window would pop up, it does
not. An error is underline on this line (due to lack of semicolon ;). After entering the semicolon, and then re-entering
the brackets, no code completion comes up. Ctrl+Space lists a general code completion, not a parameter list.

[See URL vid - 1MB]

I've clawed through the options with no luck... i have 5.5, 6M9 and 6M10 on this machine installed, and it only works in 5.5
Comment 1 aziz 2007-07-09 15:19:53 UTC
Created attachment 44823 [details]
Example VID
Comment 2 aziz 2007-07-09 15:20:28 UTC
** See attached VID, not URL VID
Comment 3 aziz 2007-07-09 16:39:56 UTC
-- found the source of my issue, I hadn't realized the process had changed (press CTRL+Space before opening bracket),
and CTRL+P for parameter list. I like this process, however I think the code completion should automatically show when
the cursor is idle for 300~600ms in such a situation.

-- See thread http://www.nabble.com/Code-completion-does-not-work-as-expected-tf4031284.html#a11504117
Comment 4 peathal 2007-09-17 09:59:38 UTC
*** Issue 107203 has been marked as a duplicate of this issue. ***
Comment 5 Dusan Balek 2013-05-16 11:57:49 UTC
Already fixed in the current builds.
Comment 6 markiewb 2013-05-28 18:21:42 UTC
(In reply to comment #5)
> Already fixed in the current builds.

@Dusan: Nice to know, but why not set the state to resolved fixed then?