Fork me on GitHub
#cider
<
2019-11-20
>
solf05:11:13

If I jump using cider-find-var into an external file (for example if I jump to the definition of something in clojure.core) cider is not connected to any repl as I am outside of the project, so I can't e.g. jump again from that file. Is there any way to keep the "cider context" ?

solf06:11:57

Oh I think I know why this happens, it might be because I changed lein cache repo (it's not ~/.m2 for this particular project)

solf06:11:27

Maybe I need to add the new path for .m2 somewhere?

manuel09:11:25

@dpsutton also, according to that ticket, it seems to be an issue on CIDER side

achikin13:11:37

Looks like a bug. When trying to comment a form that contains @ inside let - cider inserts a space between @ and the rest of the form

👍 4
achikin13:11:25

Actually inserting _ before @ triggers this behaviour

achikin13:11:35

Only happens inside let block

achikin13:11:35

That gone away after disabling clojure-align-forms-automatically

futuro14:11:12

I’m running an unsession tomorrow at the conj to work on bugs/features in the orchard, and I was wondering if folks had recommendations for issues that could be improved in some fashion with only an hour’s worth of work.

tianshu15:11:03

I feel the cider-error-buffer popup become really slow after I update my cider package. anyone run into the same issue? I saw this issue https://github.com/clojure-emacs/cider/issues/2237 but the poster's problem solved by reinstall package.

4
andrea.crotti16:11:58

anyone using jenv with cider? I would like to be able to switch to different jdk versions easily

andrea.crotti16:11:06

I use jenv in the terminal which works nicely, but doesn't affect emacs/cider

andrea.crotti16:11:03

ah looks like :java-cmd "/Users/acrotti/.jenv/shims/java" in my lein_profiles.clj file works

andrea.crotti16:11:16

so well at least it picks up the global jdk I've set up with jenv

andrea.crotti16:11:35

ideally I'd just like to change it per project if needed

dpsutton16:11:13

if you do (shell-command "which java") it will say what emacs thinks is java. i suspect emacs is not aware of jenv?

andrea.crotti17:11:13

I changed the exec-path to add the shims directory but didn't help

andrea.crotti17:11:31

the java-cmd trick worked though

practicalli-johnny21:11:25

I just used a symbolic link called current that is set as part of the operating system path to java. Then I can just change the symbolic link to point to a different version. I am not changing the system path, so any newly run command will use the new version. I assume you would have to quit and restart the repl, but keep Emacs open.