Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the [shortcut/other way] for go to definition in Eclipse+Pydev

Tags:

eclipse

pydev

I used to use WingIde, where in a shortcut(f4, default) which I used quite often was Goto definition, which will open the definition file, and take me to it. Is there a similar shortcut for eclipse+pydev?

like image 414
agiliq Avatar asked Jan 21 '10 06:01

agiliq


People also ask

What is Ctrl Shift G in Eclipse?

Search – Eclipse Shortcuts CTRL SHIFT G – Search for current cursor positioned word reference in workspace. CTRL H – Java search in workspace.

How do you jump to function in Eclipse?

Select the method and press f3 (or context menu -> open declaration). If it jumped to function implementation, repeat this action and it should go to function definition.


1 Answers

For Aptana Pydev, you have "Go To Definition": F3
(Andrew Falanga comments below that Alt+ allows you to return to the point you left)

The 'go to definition' actions enables you to get to a given definition.

  • It works well on 'self' tokens
  • It can work on methods / attributes from parameters (as the image below shows).

goto definition

like image 182
VonC Avatar answered Sep 26 '22 08:09

VonC