What is the short-cut key to jump to declaration in Emacs?

前端 未结 4 1199
误落风尘
误落风尘 2021-01-31 03:18

In visual studio it \'s easier to push F12 button to jump to a declaration of a function or variable when editing C/C++ code.

Is there a short-cut key in emacs to do th

4条回答
  •  别那么骄傲
    2021-01-31 04:19

    As others have said there is no built-in universal solution for this in emacs. That said, after having this functionality in IntelliJ I wanted it in emacs too so I made Dumb Jump.

    Right now Dumb Jump has basic support for:

    • JavaScript
    • Emacs Lisp
    • Python
    • Go
    • PHP
    • Ruby
    • Faust
    • and more... (over 20 now)

    It's available via MELPA and is actively being developed.

提交回复
热议问题