Fork me on GitHub
#spacemacs
<
2016-01-27
>
eggsyntax01:01:26

I'm trying to figure out how to jump to the definition (in another file) of a function. Doing a <SPC-?> search for jump-to-definition doesn't find anything. I've seen a couple of webpages that suggest <M-.> but that seems to be bound to something else (I just get a message saying "Previous command was not evil-repeat"). Can anyone clue me in?

dima01:01:08

eggsyntax: , g g with cider connected

dima01:01:38

or SPC m g g

eggsyntax01:01:54

@trybeee: that bounces me to the following, down at the bottom:

eggsyntax01:01:40

If I type [ns/fn-name] in there, it just says [ns/fn-name] not resolved.

dima02:01:48

@eggsyntax: it works in .clj files for me with Cider connected. Not sure about .cljs

eggsyntax02:01:14

@trybeee: ah, great point. I'd forgotten that there are some pain points around that. OK, thanks simple_smile

eggsyntax02:01:28

Yep, verified, works fine for me w/ clj (as does just g d).