cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
zilti 2020-07-13T00:02:21.356700Z

...oh, seems to only happen when a #? is involved. On the other hand, when it isn't involved, the mnemonic info bar is missing

bozhidar 2020-07-13T04:27:48.357500Z

I don’t quite get what you mean, but it might be a good idea to file a bug report.

2020-07-13T12:31:44.357900Z

I encounter this:

2020-07-13T12:31:55.358300Z

dir already refers to: #’clojure.repl/dir in namespace

2020-07-13T12:32:25.359Z

how to by pass that an error? I feel like that’s a warning at most.

practicalli-john 2020-07-13T12:57:17.359600Z

Use a different name for your own def expression to avoid over-writing existing code from libraries.

(def etcd-db-path "/opt/etcd/")
It is good practice to use environment variables for system values such as paths, rather than hard coding them into code.

2020-07-13T13:24:00.360600Z

@jr0cket hi emacs expert. I am facing a problem that, I define a short cut in hydra to invoke cider-find-dwim

2020-07-13T13:24:34.361300Z

but evil-jump-backword sometimes jumps to wrong locations. do you suffer such an issue?

practicalli-john 2020-07-13T13:58:52.361900Z

I don't really use that command, so haven't noticed. If you have command-log you can run that and check the keybinding is calling the function it's supposed to (i.e. nothing is over-riding the key binding in particular states).

2020-07-13T14:04:28.362100Z

how do you jump to the definition and back ?

practicalli-john 2020-07-13T14:18:19.362300Z

If a definition is in the same file/buffer, then I probably use ' ' (single quote twice). If the definition is in another file, then either close its buffer or SPC TAB

2020-07-13T16:13:53.362500Z

> Are you running cider-jack-in while in a ClojureScript source buffer? If you aren't, those dir-locals won't get applied. I believe i am. I'll try on a toy project so i can be more sure i understand the context though. Thanks for the reply.

2020-07-13T16:50:11.362700Z

how do i check if i'm in a clojurescript source buffer?

2020-07-13T16:50:39.362900Z

yea my buffer list says clojurescript

2020-07-13T16:53:18.363100Z

maybe shadow cljs changed something? Now the dir locals setup in the shadow docs works https://shadow-cljs.github.io/docs/UsersGuide.html#_simplify_startup_with_dir_local I recall before it didnt.