This isn't near completed. There's room for improvement,so if you have suggestions or feedback -- make an issue!
Organize the imports of your current buffer by using the organize_imports
command
lua require("scalaimport").organize_imports()
This will organize the top of your file with all imports with no indentations
Before organize_import
:
// empty line
package com.austinito
import a.A
import a.B
import a.C
import b._
import b.A
After:
package com.austinito
import a.{A, B, C}
import b.{A, _}