Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm: Navigate to recent method?

Tags:

python

pycharm

I like the ctrl+e "recent files" dialog of PyCharm and use it often.

Is there a way to list the recent methods I visited during the last minutes too?

like image 964
guettli Avatar asked May 18 '16 09:05

guettli


People also ask

How do I see recent changes in PyCharm?

With PyCharm you can restore that change in a couple of clicks. Right-click anywhere in the editor and choose Local History | Show History from the context menu. In the dialog that opens, the left-hand pane shows a list of all saved revisions of the current file with timestamps.

How do I check a method in PyCharm?

When you search for usages of a method implementation with this dialog Ctrl+Alt+Shift+F7 , PyCharm will ask whether you want to search for the base method or method's implementations. With any other find usages actions such as Alt+F7 or Ctrl+Alt+F7 , the base method will be included in the search results automatically.

How do I navigate to previous method in Intellij?

Use ⌘[ (macOS), Ctrl+Alt+Left Arrow (Windows/Linux) to navigate backwards and ⌘] (macOS), Ctrl+Alt+Right Arrow (Windows/Linux), to navigate forwards.

How do I bookmark in PyCharm?

In the Project tool window ( Alt+1 ), right-click an item that you want to bookmark and select Bookmarks | Add Bookmark ( F11 ) or Add Mnemonic Bookmark ( Ctrl+F11 ). For mnemonic bookmarks, select a number or a letter that you want to use as an identifier for this bookmark. Press Enter to save the bookmark.


2 Answers

You can go to the last visited method with Alt+ (left arrow) and again to the next last, but i have no idea how to show a list of them.

like image 189
qvpham Avatar answered Sep 19 '22 12:09

qvpham


As others have stated, Alt+left navigates back in time. As for all the other useful shortcuts, there are two reference cards available for PyCharm's default keymap:

  1. for Windows/Unix
  2. for Mac

Jetbrains will send you these as high quality flyers if you call their marketing department and ask nicely ;-) Here is a little extract of the navigation section:

ref

Unfortunately, For those who are using the eclipse keymap or sth. entirely different, there is no such comprehensive reference.

like image 45
user2390182 Avatar answered Sep 18 '22 12:09

user2390182