cursive-ide / cursive

Cursive: The IDE for beautiful Clojure code
588 stars 7 forks source link

"Mark Directory as Sources Root" is lost on "Refresh Clojure Deps" #2693

Closed nottmey closed 2 years ago

nottmey commented 2 years ago

https://user-images.githubusercontent.com/6448974/167272892-ab919b4f-3f8f-45f0-b7f6-037558d021c2.mov

Happens on any Deps refresh.

I guess the relevant part ist that the following config is not picked up. One would expect this to be set automatically.

; deps.edn
{:aliases {:repl {:extra-paths ["repl"]}}}

The complete project config can be found here: https://github.com/nottmey/datomic-lacinia/blob/edf9cb45673c7fda5f7f5dd2530715f8a512b4cc/deps.edn

nottmey commented 2 years ago

If it helps, that's some config related to it. But it does not seem to affect this behaviour.

Screenshot 2022-05-08 at 00 01 03 Screenshot 2022-05-08 at 00 03 48
cursive-ide commented 2 years ago

You'll need to configure that alias as described in the doc here.

nottmey commented 2 years ago

Oh great, that was an easy fix. Thank you!