开发者

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

开发者 https://www.devze.com 2022-12-22 06:46 出处:网络
开发者_如何转开发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 easily jump to function definitions within
开发者_如何转开发

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 easily jump to function definitions within my project. 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 C-x C-e doesn't work so well (tho it does works for Common Lisp and SLIME).

0

精彩评论

暂无评论...
验证码 换一张
取 消