对于Python有没有一个好的emacs插件,就像ESS for R和slime for Lisp一样?

2024-10-03 23:21:36 发布

您现在位置:Python中文网/ 问答频道 /正文

我试过绳索和橡皮泥,但我觉得它们不够好。。在

我真的很喜欢ESS和Slime的强大完成。在

对于python,如果我想试验一些函数,我通常会尝试iPython。在

有没有这样一个针对Python的emacs插件(tab completion)?在


Tags: 函数插件ipythoncompletiontabemacs绳索ess
3条回答

elpy是蜜蜂的膝盖!我见过最好的解决方案。在

这个post提供了一些关于Emacs作为Python“IDE”的好提示:

In this post I’ll show how to configure emacs to write Python programs. We want to have not only basics things like syntax highlighting, but also code completion, easy access to Python’s documentation, ability to check for common mistakes, run unit tests, debugging, and a good interactive programming environment.

This setup is based on ipython and python-mode, but it’s also possible to use rope, ropemacs, and the auto complete mode as we can see here. I didn’t have much luck with ropemacs in the past but I’ll try it again in the future.

我用的是:https://github.com/gabrielelanaro/emacs-for-python/

易于安装,并且如果您想将emacs配置为pythonide,则几乎可以满足您的所有需要

相关问题 更多 >