You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jan Lahoda (JIRA)" <ji...@apache.org> on 2018/06/15 10:24:00 UTC
[jira] [Assigned] (NETBEANS-895) Code completion for field
initializer does not add import without nbjavac
[ https://issues.apache.org/jira/browse/NETBEANS-895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Lahoda reassigned NETBEANS-895:
-----------------------------------
Assignee: Jan Lahoda
> Code completion for field initializer does not add import without nbjavac
> -------------------------------------------------------------------------
>
> Key: NETBEANS-895
> URL: https://issues.apache.org/jira/browse/NETBEANS-895
> Project: NetBeans
> Issue Type: Bug
> Components: java - Editor
> Environment: release-302-on-20180517 without nbjavac
> Reporter: Naoki Kishida
> Assignee: Jan Lahoda
> Priority: Major
>
> Code completion for a field initializer does not add import when nbjavac is not enabled.
> for a field type, there are `SecurityException` and `SecurityManager` but are not `Set` for candidates in the completion list.
> {code:java}
> class Foo {
> Se[ctrl]+[space]
> }
> {code}
> for a field initializer, choising `HashSet` does not add `import java.util.HashSet`
> {code:java}
> import java.util.Set;
> class Foo {
> Set s = new Hash[ctrl]+[space]
> }
> {code}
> for a field initializer, choising `HashSet` does not insert the `HashSet`
> {code:java}
> import java.util.Set;
> class Foo {
> static Set s = new Hash[ctrl]+[space]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists