5

I'm using PyCharm and quite use ctrl+click to look up a declaration of a function. After that I want to return to my code and I have to scroll down (often a lot). Is there a useful shortcut to go back to the function usage after you looked up its declaration?

The closest I found was ctrl+alt+backspace to go last edit location. However, often the function I'm checking is not last edited snippet of code.

Mwiza
  • 7,780
  • 3
  • 46
  • 42
Sergey Ivanov
  • 3,719
  • 7
  • 34
  • 59
  • Does this answer your question? [How to go back in PyCharm while browsing code like we have a back button in eclipse?](https://stackoverflow.com/questions/24548398/how-to-go-back-in-pycharm-while-browsing-code-like-we-have-a-back-button-in-ecli) – user985366 Jun 05 '23 at 12:49

2 Answers2

6

Navigate | Back (Ctrl+Alt+Left in the default keymap)

jesterjunk
  • 2,342
  • 22
  • 18
yole
  • 92,896
  • 20
  • 260
  • 197
2

In Pycharm community 2018.1 in Windows this is alt+left to jump back, alt+right to jump forward again.

reejad
  • 76
  • 3