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

IntelliJ IDEA 16 EAP Improves Debugger and Adds Git Worktree Support

DZone's Guide to

IntelliJ IDEA 16 EAP Improves Debugger and Adds Git Worktree Support

A new patch brings several new features to IntelliJ, including the use of Groovy expressions when debugging a Java application and VC integration.

· Agile Zone
Free Resource

The Agile Zone is brought to you in partnership with Techtown Training. Learn how DevOps and SAFe® can be used either separately or in unison as a way to make your organization more efficient, more effective, and more successful in our SAFe® vs DevOps eBook.

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, resuming one thread meant IntelliJ IDEA would also resume all the other threads. 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!

Adopting a DevOps practice starts with understanding where you are in the implementation journey. Download the DevOps Transformation Roadmap, brought to you in partnership with Techtown Training

Topics:
intellij ,git ,java ,groovy

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

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}