Java Step into method with the mouse

Answered

Hey,

I've switched from Eclipse to Intellij some time ago and so far it has been good experience with Intellij :) 

While debugging with Eclipse, you could step into a method selection either with a cursor + keyboard shortcut or simply holding ctrl + alt + left mouse button (on windows). Unfortunately, I could not find this for "step into method selection". Am I missing something?

Thanks :)

Best regards,

Konstantin

0
5 comments

Hello.

Default shortcut is F7, to change it go to Settings | Keymap and search for Step Into action, double click on action and choose "Add Mouse Shortcut",  

0
Avatar
Permanently deleted user

Hey Petr,

thanks for the reply, but that is not what I meant.

I you have "chained" method call like:

MyClass.builder().withString("someString").withInt(10).withLong(100L).build();

How can I "step into a method" like the withLong if the debugger is right in front of the line? With Eclipse I would hit the keys control + alt and click with the left mouse button on the withLong method name. The debugger would jump directly on the first line of the method withLong.

How can I do that in IntelliJ :) ? 

Thanks you :)

Best regards,

Konstantin

 

0
Avatar
Permanently deleted user

I've read this before asking my question In my workflow, using the mouse to select the method where I want to debug into, just simply works faster. Meanwhile, the new 2019 EAP provides this “Run to mouse pointer” mouse gesture. That is pretty close and works for me.

0
Avatar
Permanently deleted user
0

Please sign in to leave a comment.