Ido-goto-symbol command support for emacs python mode

229 Views Asked by At

The function ido-goto-symbol when run in emacs python mode, shows the message No items suitable for an index found in this buffer. How can I get the ido-goto-symbol to work in python-mode so that it lists functions and classes present in the python file?

1

There are 1 best solutions below

1
On

M-x imenu RET provides that functionality already.

Should work with python-mode.el as with shipped python.el

Checked with

GNU Emacs 24.3.90.1 (i686-pc-linux-gnu, GTK+ Version 3.6.5) of 2014-04-21

In case of trouble start from emacs -Q