IPython自动完成emacs24不起作用 [英] IPython auto-completion emacs24 doesn't work

查看:155
本文介绍了IPython自动完成emacs24不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用带有IPython 12的emacs24.0.92。
我从IPython存储库中获取了ipython.el文件,并尝试这个补丁,但自动完成仍然不适用于我。
有人可以提供任何提示吗?

解决方案

这是一个旧问题,但是自从我正在寻找: / p>

1- python-mode.el



快速搜索引导我工作解决方案: http://www.emacswiki.org/emacs/PythonProgrammingInEmacs#toc5



2- jedi



您仍然可以使用 jedi.el



http://jedi.jedidjah.ch/en/latest/



http://wikemacs.org/index.php/Python#Jedi



< a href =http://aliquote.org/memos/2013/02/11/emacs-auto-completion-for-python =nofollow> http://aliquote.org/memos/2013/02/ 11 / emacs-auto-completion-for-python



安装 packages.el 并调用 M-x jedi:setup 。现在完成在第三个角色触发。我们仍然无法用终端中的TAB检查对象,但是可以使用第一个解决方案。
编辑: 错误,这只是一个配置问题: http://tkf.github.io/emacs-jedi/released/#configuration (使用 jedi:complete-on-dot 一旦我们输入点即可完成)。


I'm using emacs24.0.92 with IPython 12. I took ipython.el file from IPython repository and also tried this patch however auto-completion still does not work for me. Can someone give any hint about it ?

解决方案

That's an old question but since I was looking for it:

1- python-mode.el

A quick search lead me to this working solution: http://www.emacswiki.org/emacs/PythonProgrammingInEmacs#toc5

2- jedi

You still can use the completion given by jedi.el:

http://jedi.jedidjah.ch/en/latest/

http://wikemacs.org/index.php/Python#Jedi

http://aliquote.org/memos/2013/02/11/emacs-auto-completion-for-python

Install with packages.el and call M-x jedi:setup. Now the completion fires at the third character. We still can not inspect an object with TAB like in a terminal, but with the 1st solution we can. edit: false, it's just a matter of configuration: http://tkf.github.io/emacs-jedi/released/#configuration (use jedi:complete-on-dot to complete as soon as we enter a dot).

这篇关于IPython自动完成emacs24不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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