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
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.0
         Environment: Ubuntu 18.10
Java 12d
            Reporter: Martin

# Open a 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 

This will cause a syntax error of course

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

For further information about the NetBeans mailing lists, visit:

Reply via email to