How to go back in PyCharm while browsing code like we have a back button in eclipse?

16,935

Solution 1

in pycharm you have view in view please make sure that toolbar is checked enter image description here

enter image description here

Solution 2

You could use Ctrl+Alt+Left Arrow (which is more convenient from my point of view) or clicking arrows as suggested.

Solution 3

Ubuntu 16.04 defines Ctrl + Alt + Left as a workspace switch shortcut

Then it does nothing on Pycharm.

So you have to either disable the Ubuntu shortcut with:

  • dash
  • keyboard
  • shortcuts
  • navigation

or redefine the PyCharm shortcuts to something else.

Linux distro desktop devs: please make all desktop system wide shortcuts contain the Super key.

Solution 4

You can also go to Navigate->Back

navigate back in PyCharm

Share:
16,935
timedout
Author by

timedout

I work for Microsoft.

Updated on June 17, 2022

Comments

  • timedout
    timedout almost 2 years

    While browsing the code in PyCharm(community edition) how to go back to the previously browsed section? I am looking for eclipse back button type functionality with Pycharm.

  • timedout
    timedout almost 10 years
    Yeah, I can see the toolbar now. I tried to search about back button and never knew it could be in toolbar. Thanks.
  • Harald Nordgren
    Harald Nordgren over 7 years
    Yup. And Cmd + Alt + Left Arrow on OS X.
  • eplaut
    eplaut over 6 years
    Using ubuntu16.04 + PyCharm 2017.2.3 Alt + Left works by default
  • Ciro Santilli OurBigBook.com
    Ciro Santilli OurBigBook.com over 6 years
    @eplaut hmmm, to me it seems to just go to the tab at the left, not to the previous code location (specially different since Ctrl + click to jump to definition reuses existing tabs).
  • Nathan B
    Nathan B over 6 years
    Can you explain how to disable it on ubuntu?
  • sagarr
    sagarr over 5 years
    I simply change PyCharm keyboard shortcuts for Back and Forward to Alt+<- & Alt+-> iso of changing Ubuntu wokspace switcher shortcuts. Need to restart PyCharm after assigning new shortcuts.
  • Ciro Santilli OurBigBook.com
    Ciro Santilli OurBigBook.com over 5 years
    @sagarr yes, this is also a valid solution, added to the answer.