IntelliJ IDEA 16 EAP Improves Debugger and Adds Git Worktree Support

Great news, everyone! A fresh weekly IntelliJ IDEA 16 EAP is out and ready, packed with bugfixes and new features as usual. The noticeable changes affect the debugger, VCS integrations, and user interface.

Debugger

Now when debugging a Java application, you can use Groovy expressions with Evaluate Expression and Watches. Previously you could do that only when debugging Groovy code. This is good because Groovy expressions are much shorter and more expressive (especially when you work with collections.)

idea-debugger-groovy

This feature requires a Groovy runtime library in the classpath.

Also, we’ve made it easier to debug multiple threads. Until now, stepping over one thread meant IntelliJ IDEA would also resume all the other threads (that stopped at breakpoints for which Suspend policy was set to All). Now you can change this behavior by enabling the Resume only the current thread option in Settings > Build, Execution, Deployment > Debugger > Stepping.

idea-suspend-only

VCS integration

Git users will be happy to know that IntelliJ IDEA now supports worktrees. This feature was introduced in Git 2.5 to make working with clones of a single repository simpler, because instead of making a repository clone you could create a lightweight worktree. The good news is that now IntelliJ IDEA supports those worktrees, so you can work with them just like you do with regular repositories.

The look and feel of Git Log has been updated with a better-looking toolbar and thinner splitters, and the table headers have been removed.

idea-vcs-log

Show/Find usages

Talking about user interface, we have improved the speed-search in the Show usages popup. Now, when you use it, the matches are highlighted for easier navigation.

idea-usages-speed-search

The speed-search in Find usages tool window has also been improved in another way: now it looks through the entire contents of the tool window text.

Last but not least, if you run any code cleanup inspection via Run Inspection by Name, you will now be offered to apply the quick-fix right away in the dialog.

idea-fix-all

That’s it for now. We hope you’ll find these enhancements useful and give us your feedback and bug reports on our discussion forum and in the issue tracker.

Develop with pleasure!

Posted in EAP Releases, New Features | Tagged , , , | 7 Comments

IntelliJ IDEA 16 EAP Improves Editor and VCS Integration

Every week we publish a fresh IntelliJ IDEA 16 EAP. Today’s build, among bugfixes that address issues you reported, brings a few improvements to Git integration and IntelliJ IDEA heart, the code editor.

Move statements right and left

We already have a way to move code statements up and down: Ctrl + Shift + Up/Down (Cmd + Shift + Up/Down for OS X.) They come in handy when you’re rearranging code statements. Sometimes, however, it might be useful to move them left or right (when you’re, for example, changing the order of attributes of an XML element, method parameters, or elements in an array initializer).

To make it possible we’ve added two new actions: Alt + Ctrl + Shift + Left/Right (Alt + Cmd + Shift + Left/Right for OS X).

VCS integration

Two new actions to help you work with Git branches, available via the Branches popup: Checkout with Rebase and Rename.

The Checkout with Rebase action is useful if you don’t want to waste your time on extra files synchronization and compilation when you do two operations: Checkout and then Rebase.

git-operations

If you do an interactive rebase via the VCS → Git → Rebase main menu, IntelliJ IDEA now automatically stashes and unstashes local changes and assists with resolving conflicts.

The experience of applying patches has also been improved: you can now recover from the patches that could not be applied because of conflicts.

We hope you’ll find all these enhancements useful. Share your impressions and concerns in the EAP discussion forum, and reports bugs our issue tracker.

 

Kotlin

This EAP comes with bundled preview build of Kotlin 1.0 Release Candidate. If you use Kotlin in Maven or Gradle projects you need to setup Kotlin EAP Maven repository in your project, see Kotlin Early Access Preview for details.

Develop with pleasure!

Posted in EAP Releases, New Features | Tagged , , , | 11 Comments

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!

Posted in EAP Releases, New Features | Tagged | 4 Comments

IntelliJ IDEA 15.0.3 Update is Available

Great news! After just a few weeks in EAP, IntelliJ IDEA 15.0.3 is officially out. Big thanks to all the contributors, supporters, and, of course, bug reporters.

If you are running IntelliJ IDEA 15.0.2, click Check for Updates and you will get a popup that offers automatic update. Or, you can just do it the good old way by downloading the update from our website, and then installing it manually.

Among the improvements, the 15.0.3 update adds a small new feature (back-ported from IntelliJ IDEA 16 EAP.): the ignore generated code option in the code duplicates inspection.

Screen Shot 2015-12-29 at 19.38.27

For Kotlin fans we included Beta 4 of Kotlin plugin that (in addition to minor changes to the language and libraries) brings better incremental compilation performance and new coding assistance features. Find more details about it in this and that announcements from official Kotlin blog.

Develop with Pleasure!

Posted in New Features | Tagged , , , | 25 Comments

IntelliJ IDEA 15.0.3 RC is Out

Along with the IntelliJ IDEA 16 EAP, we keep working on a new bugfix update for IntelliJ IDEA 15, and today we’re publishing the IntelliJ IDEA 15.0.3 RC.

Here’s a list of what’s been fixed, and the new build also updates the Kotlin plugin to Beta 4. This brings better incremental compilation performance along with minor changes to the language, libraries, and improved coding assistance. More details can be found in this post from official Kotlin blog.

As always, all bug reports are welcome in the issue tracker.

Develop with Pleasure!

Posted in EAP Releases, Release Candidates | Tagged , | 1 Comment

IntelliJ IDEA 16 EAP 144.2925 is Out

Good news, everyone! A fresh IntelliJ IDEA 16 EAP build is out and ready. As always, it comes with various bugfixes, but that’s not all: there’s a couple of new features as well.

Built-in inspections that detect issues with use of concurrency annotations now support javax.annotation.concurrent.*:

javax_annotation_concurrency

Previously such problems were reported only for net.jcip.annotations.*.

Kotlin plugin has been updated to Beta 4. This brings better incremental compilation performance along with minor changes to the language, libraries, and improved coding assistance. More details can be found in this post from official Kotlin blog.

We appreciate your feedback on changes in our discussion forum. In case you see a bug, report it right away to the issue tracker.

Develop with Pleasure!

Posted in EAP Releases, New Features | Tagged , | 4 Comments

Java Annotated Monthly – January 2016

As we turn the calendar on the Java Annotated, we predict the year ahead will bring enormous growth for Java. With lambdas and streams now firmly planted in the Java ecosystem, developers are starting to reap the benefits of functional programming and cultivating new breeds of reactive services and applications. As the largest, healthiest programming language in the world, Java is poised to make real headway in 2016 and already promises exciting innovation in runtimes, frameworks, tools and languages. Stay tuned on the Java Annotated and you’ll stay ahead of the latest developments and emerging trends every month, brought to you by JetBrains.

IDEAmug5

Continue reading

Posted in News & Events | 2 Comments

IntelliJ IDEA 15.0.3 EAP 143.1653 is Out

It’s time to turn the page to 2016. Before you go to the party, be sure to check out a new IntelliJ IDEA 15.0.3 EAP build that brings awaited bugfixes.

Among those bugfixes, the new EAP build adds a new small feature back-ported from IntelliJ IDEA 16 EAP. The inspection that finds code duplicates now has an option to ignore generated code.

Screen Shot 2015-12-29 at 19.38.27

As always your feedback is welcome on our discussion forum and in the issue tracker.

Develop with pleasure and see you next year!

Posted in New Features | Tagged , , | Leave a comment

IntelliJ IDEA 16 EAP 144.2608 is Out

If you’ve already tried IntelliJ IDEA 16 EAP announced last week, you’ll be glad to know that we’ve just released a new build.

With this build IntelliJ IDEA and the whole IntelliJ platform migrates to Java 8. Users won’t be able to launch the IDE under a JDK older than Java 8. It means plugin developers now can use Java 8 features in their code. This change affects the master branch (144.* builds) and further major releases in Spring, 2016. The bugfix updates (143.*builds) will remain compatible with Java 6.

The inspection that finds code duplicates now has an option to ignore generated code.

Screen Shot 2015-12-29 at 19.38.27

Also, we added a new inspection called Declaration access can be weaker. When enabled, it prevents making fields, methods and classes unnecessary public.

Screen Shot 2015-12-29 at 19.35.59

This inspection may result in false positives if the corresponding field, method or class is supposed to be used outside the project only as a public API. Enable it on the scopes you need in Settings or simply run it for any scope using Run Inspection by Name via Alt + Shift + Ctrl + I (Alt + Shift + Ctrl + I for OS X).

For Mercurial we made it possible to compare revisions of a file between branches. Previously it was only possible to compare revisions within a single branch.

Screen Shot 2015-12-29 at 19.49.32

For the complete list of changes, refer to the release notes.

After you try the new build, don’t forget to share your feedback with us on our discussion forum or directly in the issue tracker.

Develop with pleasure and happy New Year!

Posted in EAP Releases, New Features | Tagged | 11 Comments

IntelliJ IDEA 15.0.3 EAP 143.1559 is Out

A fresh IntelliJ IDEA 15.0.3 EAP build is out; so you’re welcome to give it a try out and help make it a tad better by reporting any bugs you find before we make 15.0.3 GA. If you’re interested in what’s exactly been fixed, have a look at the release notes.

Yesterday we also released IntelliJ IDEA 14.1.6 that brings important bug fixes based on feedback we’ve received. We’re committed to keeping IntelliJ IDEA stable and up-to-date, and will continue backporting critical fixes to IntelliJ IDEA 15 from the newer releases to keep it in good shape.

Develop with Pleasure!

Posted in EAP Releases | Tagged , , | 1 Comment