代码自动完成“部分"在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.

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

I explained in this other * 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).