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

Just released, a free O’Reilly book on Reactive Microsystems: The Evolution of Microservices at Scale. Brought to you in partnership with Lightbend.

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.

Strategies and techniques for building scalable and resilient microservices to refactor a monolithic application step-by-step, a free O'Reilly book. Brought to you in partnership with Lightbend.

Topics:
intellij

Published at DZone with permission of Andrey Cheptcov, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}