autocomplete in editor using actual python from the ipython console

190 views
Skip to first unread message

Tal Kaminker

unread,
Jul 10, 2015, 3:57:39 PM7/10/15
to spyd...@googlegroups.com
Hi,
Today the autocomplete of the editor and of the console are different. the editor uses rope and the ipython console uses ipython.
the ipython autocomplete is much more correct:
for example writing:
x = zeros(10)
x+<dot> will popup all the functionality of numpy array

doing the same in the editor doesn't do anything

I understand why but can we get the following functionality working:
typing (in the editor)
x = zeros(10)
evaluating this (using F5 or alike) in ipython
so (typing again in the editor)
x+<dot> will work

This is more like how the autocomplete in IDLE works

Thanks!

Adrian Klaver

unread,
Jul 10, 2015, 4:22:05 PM7/10/15
to spyd...@googlegroups.com
On 07/10/2015 10:24 AM, Tal Kaminker wrote:
> Hi,
> Today the autocomplete of the editor and of the console are different.
> the editor uses rope and the ipython console uses ipython.
> the ipython autocomplete is much more correct:
> for example writing:
> x = zeros(10)
> x+<dot> will popup all the functionality of numpy array
>
> doing the same in the editor doesn't do anything

Works for me here. Newer versions use jedi instead of rope.

The standard information that should accompany any bug report:

What version of Spyder?

What OS and version?

What version of Python?

What does Help --> Optional dependencies show?

Or if you do not want to type that go to:

Help --> Report Issue and cut and paste the information in the Issue box.





>
> I understand why but can we get the following functionality working:
> typing (in the editor)
> x = zeros(10)
> evaluating this (using F5 or alike) in ipython
> so (typing again in the editor)
> x+<dot> will work
>
> This is more like how the autocomplete in IDLE works
>
> Thanks!


--
Adrian Klaver
adrian...@aklaver.com
Reply all
Reply to author
Forward
0 new messages