pycharm代码自动完成不适用于python控制台与ipython

时间:2015-04-22 15:47:57

标签: python autocomplete ipython pycharm

自动完成在编辑窗口中有效,但在具有Ipython环境的python控制台中不起作用。 但是,当我在终端窗口中运行ipython时,会出现Ipython并自动完成功能。

我在Windows下使用Pycharm Community 4.0.6版。 有人建议自动完成键绑定是ctrl-space,但是,我发现在编辑窗口中,TAB适用于自动完成。

1 个答案:

答案 0 :(得分:1)

我遇到了类似的问题,即我想在python控制台中运行与默认环境不同的问题。从设置中,您可以更改用于python控制台的解释器。 (见图)。您应该能够在那里设置合适的环境。 Make sure you have installed ipython as a package in the interpreter of your choosing, so ipython will automatically become the default interpreter of the console

enter image description here

最后你可以从设置中设置/取消设置ipython的使用... enter image description here

相关问题