Smart Step Into for Anonymous Classes and Lambdas in IntelliJ IDEA 13
If you are a heavy user of the debugger in IntelliJ IDEA, likely you know how powerful it is, especially with its Smart Step Into action. This action is helpful when you’re at a line and want to step into a particular method but not the first one which will be invoked. You press Shift + F7, and the IDE offers you a list of all methods available at the current line, so you can quickly choose the one you need.
Now imagine that you have an anonymous class as an argument and you’d like to stop if one of its methods is invoked at the current line. Is there anything your favorite IDE can help you with?
Of course there is. In IntelliJ IDEA 13, the Smart Step Into action will offer you methods from anonymous classes as well.
If you have more than one anonymous class, you’ll see all of them in the list.
At this point you might think of JDK 8’s lambdas. Will it work in the same way? Of course it will.
Even if the lambda expression is on the same line, the IDE will figure everything out.
This feature is already available in IntelliJ IDEA 13 EAP so why not go ahead and try it?
Develop with Pleasure!
Subscribe to Blog updates
Thanks, we've got you!
The What, Why, and How of JPA Buddy in IntelliJ IDEA
Master JPA entity management with JPA Buddy in IntelliJ IDEA! Our latest article shows you how to simplify your workflow and reduce boilerplate code.
The Best of IntelliJ IDEA’s HTTP Client
In today's fast-paced tech world, easy and efficient management of web services and APIs is crucial. That's where IntelliJ IDEA's HTTP Client steps in, turning complex HTTP requests into a walk in the park. The HTTP Client is a feature-rich, text-based tool in IntelliJ IDEA Ultimate. It seamlessl…
Import Postman Collections to the HTTP Client
We know that many of you use Postman collections and want to stay in the flow while working with them. This means staying inside IntelliJ IDEA and not switching to a different app. Great news! You can now effortlessly transform Postman collections into .http and use them in the HTTP Client …
What’s New in IntelliJ IDEA 2023.1 for Spring Developers
The IntelliJ IDEA 2023.1 release came packed with updates for Spring. This blog post will highlight the most noticeable changes, including full support for Lombok, a reworked Spring tool window, navigation for Spring Security rules, Spring Security 6 support, and more. Remember that these featur…