I'd really like full support for cross referencing in Python, in particular in Django. I'm a bit of a n00b when it comes to emacs, but I love it dearly. I've used and been very impressed with the ada-mode in emacs and its cross referencing but that requires compilation artifacts. Is there a way to get emacs to do it with Python?

By "Cross Referencing" I mean that I can jump to the file containing a method definition from any reference in the project.


Elpy can do this with elpy-goto-definition (bound to M-. by default).

  • This does exactly what I wanted. Nice. Mar 31 '15 at 10:00

Look into anaconda-mode: https://github.com/proofit404/anaconda-mode

For cross-referencing, you can mark the reference and then use M-x anaconda-mode-usages to easily see the cross-references.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.