autocomplete-java icon indicating copy to clipboard operation
autocomplete-java copied to clipboard

Change placement of import statements

Open dylanm312 opened this issue 9 years ago • 3 comments

I want my imports to be declared outside of the class, but autocomplete-java only wants to put them inside the class. Is is possible to change this behavior so that the imports will be added outside the class?

dylanm312 avatar Jan 28 '16 04:01 dylanm312

This is a known issue. All java source files usually contain a package declaration but you probably 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. See the preview animation.

keskiju avatar Jan 28 '16 09:01 keskiju

Any update on fixing this?

dylanm312 avatar Jul 29 '16 03:07 dylanm312

Soon... after summer holiday.

keskiju avatar Jul 31 '16 15:07 keskiju