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

Organize imports enhancements

Open keskiju opened this issue 9 years ago • 5 comments

  • [ ] Grouping imports by sun/google conventions (currently organized alphabetically)
  • [ ] Import all missing classes and remove unused imports while organizing imports
  • [ ] Import copied classes after copy-paste from another file
  • [x] Fold all imports
  • [x] Setting to turn off folding

keskiju avatar Jan 12 '16 16:01 keskiju

Is there a way to turn of folding?

(btw: thanks for your work on this package! very nice)

noseglid avatar Feb 29 '16 14:02 noseglid

You cannot turn off folding in the current version, but I'll add a package setting for that later.

keskiju avatar Mar 01 '16 09:03 keskiju

Implemented a setting to turn off folding

keskiju avatar Mar 02 '16 13:03 keskiju

:+1: Thanks for super quick response!

noseglid avatar Mar 02 '16 13:03 noseglid

Don't want to open a separate issue for this since it kinda fits here: Import organization doesn't take whatever is on the first two lines into account. It simply inserts the imports on top of the file (the third line, respectively) which is a huge problem if there's something like a license boilerplate already:

image

ghost avatar May 09 '17 13:05 ghost