Fork me on GitHub
#cursive
<
2021-11-14
>
Shantanu Kumar14:11:47

Is it documented anywhere how to specify the Clojure CLI config directory? The fix for https://github.com/cursive-ide/cursive/issues/2212 - I am on 1.12.0-eap2-2021.2

Shantanu Kumar14:11:05

For an already created dps.edn project the "Project Settings > Path to config directory" setting is greyed out. Perhaps it can be defined only for a new deps.edn project?

cfleming20:11:28

Do you have “Use CLI tools” or “Use tools.deps directly” selected?

Shantanu Kumar05:11:24

@cfleming I have "Use tools.deps directly" selected as that's how I am handling the monorepo by setting the common root-level deps.edn (authoritative for all dependencies) path in "Path to user deps.edn".

cfleming23:11:55

Hmm, yes, it would make sense to combine those two options, I missed that. I’ll fix that.

cfleming23:11:17

In the meantime, you should now be able to use the CLI option with the new config field.

mike_ananev13:11:51

@cfleming I can confirm that after an update I see no more Cursive+Idea hangs.

cfleming19:11:11

Great, thank you! That’s great news. (Not great news that it was frequent enough that you can tell in a day, though…)

kenny22:11:17

Is there some sort of Cursive api function I could call at the REPL that would pop open Cursive's diff viewer? e.g., (cursive/view-diff x1 x2)

cfleming01:11:09

There isn’t, but I’m planning one.

bananadance 2
kenny01:11:35

That'd be great! What inputs would it take? Just two objects?

cfleming04:11:17

I think so, yes. Anything else that it might need?

kenny19:11:41

The only other thing I could think would be some sort of identifier to allow updates to an existing diff window. Doesn't seem critical though.

Shantanu Kumar14:11:47

Is it documented anywhere how to specify the Clojure CLI config directory? The fix for https://github.com/cursive-ide/cursive/issues/2212 - I am on 1.12.0-eap2-2021.2