rope-code-assist, M-/ Code completion rope-rename, C-c r r Rename a variable, function, etc. For more information, look in the Rope menu. It supports code completion, renaming, and other refactoring. Ropemacs is an Emacs plugin to use Rope, a powerful Python refactoring library. For a complete list, open a Python file and run M-x apropos RET python RET python-shift-left, C-c C-< Decrease indentation of the region python-shift-right, C-c C-< Increase indentation of the region python-switch-to-python, C-c C-z Start (or switch) to a Python shell python-send-buffer, C-c C-c Run the current buffer in the Python interpreter python-send-region, C-c C-r Run the selected code in the Python interpreter python-describe-symbol, C-c C-f Get help on a Python symbol (Better than visiting the slow Python website, right?) Configuration ( ~/.emacs changes) (setq-default indent-tabs-mode nil) use only spaces and no tabs I am currently using the default python.el included with Emacs 23. The first version of python.el was included in Emacs 22 and an improved version was included in Emacs 23. There are two Python modes: python-mode.el created by the Python community and python.el created by the Emacs community (David Love). Date: | Modified: | Tags: emacs, notestoself, python | 15 Comments Python mode ΒΆ
0 Comments
Leave a Reply. |