You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Martin (JIRA)" <ji...@apache.org> on 2019/04/11 18:59:00 UTC

[jira] [Updated] (NETBEANS-2396) Automatic import of package places the import clause at the bottom of the module-info.java file, causing a syntax error

     [ 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: 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