简体   繁体   中英

Jump to function definition in Emacs + Slime/leiningen-Swank + Clojure

I'm using Emacs with clojure mode and slime connected to a swank server produced by running lein swank and would really love to be able to . Can I do this with out having to manually rebuild tags every time I change branches?

If you're using SLIME this can be done easily with M-.

EDIT: When Clojure code is compiled the location of definitions is stored. Note that this works best when you compile entire files. Jumping to an definition that you evaluated with Cx Ce doesn't work so well (tho it does works for Common Lisp and SLIME).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM