cursive

Issues at: https://git.io/cursive-issues
kennytilton 2020-11-09T17:48:38.195300Z

I am using Cursive 1.9.4 - 2020-10-20 and suddenly am unable to index projects:

12:41 PM	Error reading /Users/kennytilton/dev/crawlingchaos/project.clj
				Cannot run program "clojure" (in directory "/Users/kennytilton/dev/crawlingchaos"): error=2, No such file or directory
				error=2, No such file or directory
What did I do now?! 🙂 The command clojure brings up a prompt in that directory, and I created a symlink named clojure anyway and it still brings up a prompt. I must be misinterpreting that error. Any ideas appreciated. 🙏

kennytilton 2020-11-09T18:13:52.195400Z

I just recreated the IntelliJ project from sources, problem unchanged.

kennytilton 2020-11-09T21:00:48.195600Z

Another team member sees the same on a diff repo.

kennytilton 2020-11-09T21:01:22.195800Z

Catalina is a suspect. It is aways a suspect.

Felipe de Morais 2020-11-09T21:08:53.196900Z

I would like to use kaocha as my test runner, how could I tell Cursive to use kaocha to run my tests? 👀

imre 2020-11-10T14:19:14.203200Z

Although it doesn't integrate with gutter markers, etc, I use custom repl commands for this: run all

(do
  (require 'clojure.spec.alpha 'expound.alpha 'kaocha.repl)
  (binding [clojure.spec.alpha/*explain-out* expound.alpha/printer]
    (kaocha.repl/run-all)))
run current repl ns
(do
  (require 'clojure.spec.alpha 'expound.alpha 'kaocha.repl)
  (binding [clojure.spec.alpha/*explain-out* expound.alpha/printer]
    (kaocha.repl/run)))

1
kennytilton 2020-11-09T23:10:13.197Z

(Some of us) had to tell lein-tools-deps where to find clojure

:lein-tools-deps/config {:clojure-executables ["clojure" "/usr/local/bin/clojure"]
                           :config-files [:install :user :project]}

kennytilton 2020-11-09T23:10:47.197200Z

Even tho it was on our path, btw.