Code Navigation Question

Using the default keybindings in PyCharm I can use Control + B to go to the declaration of a method. In most cases, once I've navigated away to the declaration my original place in the source code is off the screen.

I realize that PyCharm isn't Visual Studio, but in Visual Studio I could hit F12 to go to the declaration of a method and then Control + - (which collapses a foldable region in PyCharm) to navigate backwards.

My question is, is there a way to "navigate backwards" to where I was before I hit Control + B?

Comment actions Permalink

Hi Tom,

Have you tried "Navigate | Back" ??

Comment actions Permalink

Oh man.

My OS was "intercepting" the default key combo.

I just assigned a new key combo and that does exactly what I was expecting.



Please sign in to leave a comment.