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.
Summary: | [81cat] Groovy autocompletion inserts unnecessary imports (when import package.* exists). | ||
---|---|---|---|
Product: | groovy | Reporter: | kosmonaffft |
Component: | Editor | Assignee: | Martin Janicek <mjanicek> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Other | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Before completion.
After completion. |
Created attachment 154748 [details]
After completion.
Expected behavior: don't insert any additional imports from foo.bar if 'import foo.bar.*' is present. |
Created attachment 154747 [details] Before completion. Before completion: package info.kosmonaffft.fffapp.entity import javax.persistence.* @Table('USERS') class User { @Col <-- Cursor is here. Long id } After completion: package info.kosmonaffft.fffapp.entity import javax.persistence.* import javax.persistence.Column @Table('USERS') class User { @Column Long id } See screenshots for details.