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

Summary: Invoking completion in-between identifiers offers nothing
Product: groovy Reporter: Lukas Jungmann <jungi>
Component: EditorAssignee: schmidtm <schmidtm>
Status: VERIFIED FIXED    
Severity: blocker CC: martin_adamek, pjiricka
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.