[Eric] Can't find definition using Rope

Detlev Offenbach detlev at die-offenbachs.de
Mon Apr 20 18:14:32 BST 2009


Hi,

the API files are not related to rope. They are used by the built-in 
autocompleter and calltips provider.

The rope function you called will show the definition of a method, if that is 
in the sources of your project.

Regards,
Detlev

On Montag, 20. April 2009, OldGrantonian wrote:
> I had very brief experience of Eric a couple of years ago. I now want to
> use it again.
>
> I want to use Rope to find the definition of insertItem in the following
> line:
>
> main_widget.helpMenu.insertItem("Hello world",self.hi,0,666)
>
> I highlight "insertItem" and click Refactoring > Query > Find Definition
>
> I get the message: "No matching definition found"
>
> However, I know that there are several definitions for "insertItem" in
> PyQt4.api
>
> Here is how I set up for Rope:
>
> 1)  Settings > Preferences > Editor > APIs
>
> 2)  Language = Python
>
> 3)  Browse to:
>
> C:\Python26\Lib\site-packages\PyQt4\qsci\api\python\PyQt4.api
>
> and other locations
>
> 4)  Click "Add"
>
> 5)  Click "Compile APIs"
>
> 6)  Refactoring > Utilities > Analyze all modules
>
> Am I doing something wrong?



-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list