Skip to content

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

License

Notifications You must be signed in to change notification settings

Austinito/scalaimport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages