Is there a way to choose between regular import and static import?

Answered

As the following screenshot shows, when I type the enum name, it only allows me to do regular import. Is there a way to choose between regular import and static import when I type the keyword? I would prefer being asked every time instead of always using static imports or always using regular imports.

 

0
2 comments

Hello, 

You may put the cursor on NORTH, press Alt+Enter and choose to add the static import instead:

0

This works. Thank you!

0

Please sign in to leave a comment.