[
https://issues.apache.org/jira/browse/NETBEANS-895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bien closed NETBEANS-895.
---------------------------------
Fix Version/s: 13
Resolution: Fixed
nb-javac is now always installed since NB 13
> 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
> Fix For: 13
>
>
> 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
(v8.20.10#820010)
---------------------------------------------------------------------
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