41

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.

0

6 Answers 6

67

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

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

Yeah, I can see the toolbar now. I tried to search about back button and never knew it could be in toolbar. Thanks.
In latest pycharm ..the you need to click View -> Apearance -> Toolbar
34

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

1 Comment

Yup. And Cmd + Alt + Left Arrow on OS X.
9

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.

5 Comments

Using ubuntu16.04 + PyCharm 2017.2.3 Alt + Left works by default
@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).
Can you explain how to disable it on ubuntu?
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.
@sagarr yes, this is also a valid solution, added to the answer.
8

You can also go to Navigate->Back

navigate back in PyCharm

Comments

5

Able to enable Forward/Back button on latest pycharm.

Right-click the toolbar and select Add to Main Toolbar and select Back/Forward

enter image description here

Reference is from : https://intellij-support.jetbrains.com/hc/en-us/community/posts/13224717402002-Where-did-the-forward-and-back-buttons-go-in-the-new-PyCharm-layout-

Comments

3

In Ubuntu:

Navigate back

Shift + Alt + Left Arrow 

Navigate forward

Shift + Alt + Right Arrow 

enter image description here

In Windows:

Navigate back / forward

Ctrl + Alt + Left / Right Arrow 

In MAC:

Navigate back / forward

Cmd + Alt + Left Arrow 

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.