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 139286 - Invoking completion in-between identifiers offers nothing
Summary: Invoking completion in-between identifiers offers nothing
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: schmidtm
URL:
Keywords:
: 141174 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-08 16:42 UTC by Lukas Jungmann
Modified: 2008-10-30 14:25 UTC (History)
2 users (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 Lukas Jungmann 2008-07-08 16:42:29 UTC
-open a groovy script containing following line in the editor:

println new URL("http://google.com").getText()

-invoke CC somewhere in the "getText"

=> CC offers "No suggestions"

CC offers at least something only when it is invoked on following positions (marked with "|"):

println new URL("http://google.com").|getText()
println new URL("http://google.com").getText(|)
println new URL("http://google.com").getText()|

but anyway in the first case it doesn't offer getText() method (which is defined in GDK)
Comment 1 schmidtm 2008-07-14 11:25:58 UTC
This issue falls apart into (at least) these:

a) We don't recognize constructor-calls. This should now be fixed with:

http://hg.netbeans.org/main/rev/2379d9b86513

b) Invoking completion in-between identifiers offers nothing.

This will be addressed soon.

Comment 2 schmidtm 2008-07-23 09:59:45 UTC
*** Issue 141174 has been marked as a duplicate of this issue. ***
Comment 3 schmidtm 2008-08-14 15:43:58 UTC
This ought to be fixed with:

http://hg.netbeans.org/main/rev/7fb0fd8dbd5c
Comment 4 Lukas Jungmann 2008-10-01 15:18:40 UTC
v.