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 - [cc] No code completion for java classes using def
Summary: [cc] No code completion for java classes using def
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal with 4 votes (vote)
Assignee: Martin Janicek
Depends on:
Reported: 2012-04-04 12:25 UTC by Vladimir Riha
Modified: 2012-04-26 14:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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