How can I use meta-dot (M-.) in python with emacs?

后端 未结 6 1485
余生分开走
余生分开走 2021-02-07 00:58

Is there an equivalent of slime for python?

For example, if I position the cursor on foo() and do M-. (jump to definition) I would like to see the source definition of

6条回答
  •  甜味超标
    2021-02-07 01:34

    To avoid the -e you can use etags and with a find you recursively add the py file:

    find . -type f -name '*.py' | xargs etags
    

提交回复
热议问题