【 以下文字转载自 Python 讨论区 】
发信人: lins05 (C/Py), 信区: Python
标 题: emacs 的python.el
发信站: 水木社区 (Wed Dec 21 13:19:48 2011), 转信
https://github.com/fgallina/python.el
python官方提供的 python-mode.el和 emacs 官方提供的 python.el 都各有优点和不足
这哥们在python.el基础上做了些优化,总之大概实现了以下内容:
我觉得用起来比原来的顺手多了。
+ Syntax highlighting
+ Solid (auto)indentation support
+ auto-detection of indentation levels for current file
+ Triple quoted strings support (stolen without guilt from
GNU/Emacs' original python.el)
+ Fancy variable assignment colorization
+ Movement commands you'll expect from a major-mode.
+ Python shell integration (not only for Python 2 but also Python 3!)
+ Python shell completion (Same as above!)
+ Python shell virtualenv support (as simple as setting a variable!)
+ PDB Tracking (it even supports ipdb!)
+ Symbol completion that sucks because a running inferior shell
process and valid code in the current buffer are needed (Don't
blame me, it's like that in every python-mode I know). Notice I
don't recommend this thing, use ropemacs instead
+ Skeletons with a tight integration with dabbrev out of the box
+ FFAP (Find Filename At Point), click on an import statement and
go to the module definition.
+ Code check via pychecker by default (this is customizable of
course)
+ Eldoc support (this suffers the same drawbacks as the symbol
completion, but it's the only sane way to do it from Elisp)
+ imenu support to easily navigate your code
+ add-log-current-defun support
+ hideshow support
+ outline support
+ fill paragraph
--
Darkness guides me...
[m [1;37m※ 来源:·水木社区
newsmth.net·[FROM: 222.208.8.*] [m