Martin created NETBEANS-2396:
--------------------------------

             Summary: Automatic import of package places the import clause at 
the bottom of the 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


# 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to