Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

IntelliJ IDEA 16 EAP Makes It Easier to Add Static Imports

DZone's Guide to

IntelliJ IDEA 16 EAP Makes It Easier to Add Static Imports

IntelliJ has further improved it's IDE with better handling of static imports.

· Java Zone ·
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

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 SettingsEditorGeneralAuto 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!

This entry was posted in EAP Releases, New Features and tagged 16. Bookmark the permalink.

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:
intellij

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}