[
https://issues.apache.org/jira/browse/NETBEANS-6196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17442248#comment-17442248
]
Petr Pisl commented on NETBEANS-6196:
-------------------------------------
The problem is in `CompletionContext`. In this situation (empty file) the
context has location `INSIDE_METOHD`.
> Package code completion doesn't work in empy groovy file
> --------------------------------------------------------
>
> Key: NETBEANS-6196
> URL: https://issues.apache.org/jira/browse/NETBEANS-6196
> Project: NetBeans
> Issue Type: Bug
> Components: groovy - Editor
> Affects Versions: 12.5
> Environment: Linux, Ubuntu
> Reporter: Petr Pisl
> Assignee: Petr Pisl
> Priority: Minor
>
> When you create an emty groovy file, the code completion doesn't offer
> `package` keyword. It offers only `private`, `public` and `protected` that
> starts with `p`
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists