Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 908 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 908 Bytes

scalaimport

Scala Importing done the opinionated way. Grouping, Sorting, Merging

Lua Neovim

WIP

This isn't near completed. There's room for improvement,so if you have suggestions or feedback -- make an issue!

Organize Imports

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, _}