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 210694

Summary: [cc] No code completion for java classes using def
Product: groovy Reporter: Vladimir Riha <vriha>
Component: EditorAssignee: Martin Janicek <mjanicek>
Status: NEW ---    
Severity: normal CC: vriha
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2012-04-04 12:25:03 UTC
- Create Java class Foo in package org.test
- create Groovy class in different package
 - add to Groovy class: import org.test.*;
 - paste following code inside the class

def test(){
def d = new F|

}

- invoke CC at the "|"
=> Foo is not offered


Product Version: NetBeans IDE Dev (Build 201204040400)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Linux version 3.0.0-17-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Martin Janicek 2012-04-26 08:30:47 UTC
General problem with the Java/Groovy integration --> Setting TM = Next