I just released version 1.9.0 of Elpy, the Emacs Python Development Environment. This is a feature release.
Elpy is an Emacs package to bring powerful Python editing to Emacs. It combines a number of other packages, both written in Emacs Lisp as well as Python.
(require 'package) (add-to-list 'package-archives '("elpy" . "http://jorgenschaefer.github.io/packages/"))
M-x package-install RET elpy RET.
Finally, run the following (and add them to your
autopep8library for automatically formatting Python code. All refactoring-related code is now grouped under
C-c C-r. Use
C-c C-r ito fix up imports using importmagic,
C-c C-r pto fix up Python code with autopep8, and
C-c C-r rto bring up the old Rope refactoring menu.
C-c C-bwill now select a region containing surrounding lines of the current indentation or more.
C-c C-zin a Python shell will now switch back to the last Python buffer, allowing to use the key to cycle back and forth between the Python buffer and shell.
C-c C-sis now customizeable in
<C-return>now can be used to send the current statement to the Python shell. Be careful, this can break with nested statements.
python-mode, not just in the mode itself.
Thanks to ChillarAnand, raylu and Chedi for their contributions!
原文出处: Jorgen Schäfer
原文时间: 2015-08-30 20:18
整理时间: 2015-08-30 23:58
本文由 Hick 整理，转载请保留以上信息;
The articles on this site come from Internet, thanks to all the original authors.
If anything about COPYRIGHT, or LEFT, please contact Emacsist at gmail dot com .