IntelliJ IDEA 16 EAP Makes it Easier to Add Static Imports

Meet the fresh IntelliJ IDEA 16 EAP build, addressing a number of issues, and bringing several improvements.

A minor, yet helpful improvement in the new build is better handling of static imports. Previously IntelliJ IDEA provided a quick-fix to import static methods. Now it suggests to add static imports in the very same way as it does with regular ones:

Static constants are suggested, too:

If the Add unambiguous imports on the fly option is enabled in Settings → Editor → General → Auto Import, IntelliJ IDEA will import unambiguous static members on the fly.

Screen Shot 2016-01-20 at 16.11.41

As always, we appreciate your feedback about the new build in our discussion forum as well as your bug reports in the issue tracker.

Develop with Pleasure!

About Andrey Cheptsov

Part-time dreamer. JVM/JavaScript geek. IntelliJIDEA Marketing Manager at JetBrains.
This entry was posted in EAP Releases, New Features and tagged . Bookmark the permalink.

5 Responses to IntelliJ IDEA 16 EAP Makes it Easier to Add Static Imports

  1. Murali says:

    Nice feature. Does it work with Scala implicit?

    Thanks
    Murali

  2. cypressious says:

    Are there any news regarding showing unversioned files in the commit dialog? Since there is no activity on the bug tracker (https://youtrack.jetbrains.com/issue/IDEA-73077), I’m hoping to draw some attention to this impactful omission in a otherwise great IDE.

  3. Reto Merz says:

    Any plan to make “Find in path” work properly (https://youtrack.jetbrains.com/issue/IDEA-140074)?

    Thanks

  4. Pingback: IntelliJ IDEA 16 EAP新ビルド – staticインポートをより楽しく簡単に! | JetBrains ブログ

Leave a Reply

Your email address will not be published. Required fields are marked *