Suggestion: Intention to import all symbols from a class

When you reference a static symbol of a Java class or one from a scala object, add an intention that imports this class' symbols.

Example:

In code:
Color.WHITE

-> suggest to import Color._
Suggest then to remove the "Color." from all usages.

Going further, you could offer an intention/refactoring to reintroduce the "Color." and remove the import.

0

Please sign in to leave a comment.