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 217159 - [cc] Packages without any Java class are not shown in the import code completion
Summary: [cc] Packages without any Java class are not shown in the import code completion
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks: 151985
  Show dependency tree
 
Reported: 2012-08-21 12:01 UTC by Martin Janicek
Modified: 2012-11-12 15:28 UTC (History)
0 users

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 Martin Janicek 2012-08-21 12:01:11 UTC
Steps to reproduce:

1. Create new Java application with name javapp
2. Create first groovy class NewGroovyClass in packagegroovy:

class NewGroovyClass {	
}

3. Create second groovy class DifferentGroovyClass in packagegroovy2:

class DifferentGroovyClass {
}

4. Create third groovy class in javapp package where the Java main class is already present:

class GroovyClassInPkgWithJava {	
}

5. In the NewGroovyClass use code completion after import statement ("import ^"). In the suggested proposals there is "javapp" package present, but there is not "packagegroovy2". This is because in the "packagegroovy2" there is no Java class.