On Mon, Jan 28, 2013 at 5:23 PM, <[email protected]> wrote:

> I cannot get autocompletion working, the following will generated an auto
> completion popup:
>
> import PySide.
>
> However, this will not (still works for PyQt4):
>
> from PySide import QtGui
>
> btn = QtGui.
>
>
> I have done the following:
>
>
> 1. added PySide to PythonPathManager
>
> 2. changed preferences > console > External modules  to PySide  (Install
> input hook checked, API #2, Enable Monitor checked).
>
>
> I can't find other things to do or try, I have gone into my environment
> variable and made sure PySide was there and before PyQt4.
>
>
> Any suggestions, I'd really like to continue to use spider.
>
>
> Thanks,
>
> Steve
>
>
>
Steve, I can reproduce the behavior above. Spyder makes use of a package
called rope to handle code completion tasks, and it's not always obvious
why some import statements can confuse it so that it's unable to discern
the structure of a package. There are some discussions about perhaps using
another code completion library [1], but they are still in early stages.
Hold tight for now. Things should get better.

Jed

[1] http://code.google.com/p/spyderlib/issues/detail?id=1213

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to