代码自动完成“部分"在Spyder3的编辑器窗格中起作用 [英] Code autocompletion 'partially' works in the editor pane of Spyder3

查看:95
本文介绍了代码自动完成“部分"在Spyder3的编辑器窗格中起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在win10 PC上通过miniconda3安装了spyder3.自动补全功能可以在Ipython控制台窗格中完美运行,但不能在编辑器窗格中完美运行. 在编辑器窗格中,当我使用 TAB Ctrl + Space

I installed spyder3 through miniconda3 on my win10 PC. Autocompletion works perfectly in the Ipython console pane but not in the editor pane. In the editor pane it only list partial completion options when I use TAB or Ctrl+Space

这是我的编辑器首选项设置,几乎是默认设置.

This is my Editor preferences settings which is almost default.

编辑器窗格的自动完成功能是否应该比Spyder3中的Ipython窗格的自动完成功能更弱?

Should Editor pane's auto completion ability be 'weaker' than that of Ipython pane in Spyder3?

推荐答案

(这里是Spyder维护者),这是一个真实而可悲的现实,但是我们的编辑器无法显示可用于IPython控制台.

(Spyder maintainer here) It's a true and sad reality, but our Editor can't show the same completions that are available to the IPython console.

我在另一个StackOverflow答案中解释了为什么会这样.基本上,这不是我们的错,这只是我们在编辑器中使用的代码完成库(Rope和Jedi)的局限性.

I explained in this other StackOverflow answer why that's the case. Basically, it's not our fault, it's just a limitation of the code completion libraries we use in the Editor (Rope and Jedi).

这篇关于代码自动完成“部分"在Spyder3的编辑器窗格中起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆