Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this a severe bug? #48

Closed
ginger1995 opened this issue Dec 22, 2016 · 3 comments
Closed

Is this a severe bug? #48

ginger1995 opened this issue Dec 22, 2016 · 3 comments

Comments

@ginger1995
Copy link

http://recordit.co/Ku2BfXpduM Here you could see a screen recording I made.

When I tried to import some new modules or I just press shift+ctrl+alt+o to try to import, all the import lines will go inside the class...That's terrible.. Could you help me solve the issue? Thanks a lot!

@keskiju
Copy link
Owner

keskiju commented Dec 22, 2016

This is a known issue. All java source files usually contain a package declaration but you don't have one in your file. Add a package declaration or at least couple of empty lines at the beginning of java source file and it should work fine. Currently autocomplete-java does not support java files without package declaration.

@keskiju
Copy link
Owner

keskiju commented Dec 22, 2016

#35 duplicate

@ginger1995
Copy link
Author

OK I see ,thanks~

@keskiju keskiju closed this as completed Jan 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants