Eclipse "go to definition" problem

I use PyDev for eclipse and am experiencing some problems with "go to definition". It works for most modules, but for some site packages this is not the case. It sounds like a “punch,” and then nothing happens. One of the packages that do not work is Twisted, which is strange because the source is included and right there. Any idea how to fix this?

+5
source share
2 answers

Going to the definition works just fine. The problem was that the eclipse did not know where to find the source. You can go to window> settings> pydev> interpreter> New folder and add the missing folders. Despite the fact that you have added site packages to the configuration, you still have to add subfolders separately to get help with the code and be able to proceed to the definition.

alt text

+4
source

Pydev (also related to Aptana distro ) does not seem to have any error similar to the one you are describing.

Here is a list of errors, including the word "definition" for PyDev: errors, you can open an error report there with the exact version of eclipse, pydev, java used

:
Pydev ? (.. + Pydev)?
:

Feature List        Pydev "Open Source"     Pydev Extensions
---------------------------------------------------------------
Go to definition    BRM*                    Pydev Extensions(2)

BRM *: Bicycle Repair Man - , "go-to-definition" . "go-to-definition" Python "" ( "" ). " ".

Pydev (2): Pydev " ", python jython, "".

+1

All Articles