«
»

emacs

emacs as a Python IDE: Jedi

01.29.13 | 2 Comments

This is a sequel to theĀ emacs and python using Rope post. Here I use the excellent Jedi library instead of rope.

  • You can remove the pymacs and ropemacs references from your .emacs
  • Install the required Python tools.
    • easy_install jedi
    • easy_install epc
  • Use M-x package-list-packages to install Jedi.el
  • Add the following to your .emacs:
    ;;Jedi
    (autoload 'jedi:setup "jedi" nil t)
    (setq jedi:setup-keys t)
    
    (add-hook 'python-mode-hook
    (lambda ()
    (jedi:setup)
    ))
  • Have a look here to see what you can do now.

2 Comments

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

You must be logged in to post a comment.


«
»