[
https://issues.apache.org/jira/browse/NETBEANS-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin updated NETBEANS-2396:
-----------------------------
Summary: Automatic import of package places the import clause at the bottom
of the module-info.java file, causing a syntax error (was: Automatic import of
package places the import clause at the bottom of the file, causing a syntax
error)
> Automatic import of package places the import clause at the bottom of the
> module-info.java file, causing a syntax error
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: NETBEANS-2396
> URL: https://issues.apache.org/jira/browse/NETBEANS-2396
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 11.0
> Environment: Ubuntu 18.10
> Java 12d
> Reporter: Martin
> Priority: Minor
>
> # Open a module-info.java file
> # state "uses ClassName1", with ClassName1 available in the project
> # the light bulb will show up at the left hand side of the editor window
> # chose import mysample.namespace
>
> => the import clause will be added to the bottom of the file (needs to be at
> top)
> This will cause a syntax error of course
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
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