Fork me on GitHub
#spacemacs
<
2017-07-05
>
michael zhou05:07:09

Hi.Anyone have idea why I can not jump to function definition when coding clojure in spacemacs?

jumar08:07:41

@zhoumin79 did you run the repl and eval the buffer?

michael zhou08:07:35

yes,when I press ", g g" ,it shows the error "No jump handler.."

ag18:07:41

zhoumin79: I've been trying to ring someone's attention to that issue. "Go to definition" in Spacemacs is so broken right now

ag18:07:14

and configuring jump handlers is so tricky

ag18:07:28

I've tried to find a way to make it work such the way that it would use cider's jump to definition, and when it's not available it would try using dumb-jump

ag18:07:37

But I couldn't make it work

ag18:07:29

This is so embarrassing. Guys using InteliJ laugh at me

michael zhou08:07:00

Need to load the namespace before you try to navigate to the code. Good luck!

michael zhou08:07:13

I run Spacemacs in WINDOWS. Thanks.

jumar08:07:47

try M-x cider-find-var and check if that works

michael zhou09:07:47

It doesn't work.

michael zhou09:07:59

Jetbrains IDEA works, Spacemacs doesn't.

jeff.terrell12:07:18

@zhoumin79 - What happens if you M-x cider-jack-in or , s i?

michael zhou12:07:20

clojure code works but cannot jump to definition source code

jeff.terrell12:07:15

OK. I don't know then. simple_smile Maybe ask in #cider?

achikin20:07:44

What is “the right way” to bind a key to a function in minor mode?

achikin20:07:55

I want TAB to be sp-indent-adjust-sexp when in smartparens-mode. What is the best way to do it?