Fork me on GitHub
#cursive
<
2018-12-03
>
kenny00:12:53

Ah, I needed to set “Path to ‘clojure’ command” in Clojure Deps settings. Would’ve expected it to pick that up automatically.

cfleming00:12:14

@kenny Yes, I thought I had validation around that, but there have been a couple of bug reports stating that that doesn’t work correctly.

misha12:12:02

greetings! how do I turn off completion of map/reduce/etc.? (type reduce|, press tab, get (reduce function| seq), where | – is caret position)

guillaume16:12:48

Hello, I’m trying to do a remote repl session with debugging. Found this thread https://groups.google.com/forum/#!topic/cursive/iTri7vvXViA/discussion which leads to this article https://cursive-ide.com/archive/842.html but it’s 404 not found. Anyone is able to retrieve the missing article from a mirror? I’m having trouble understanding how my lein repl is supposed to interact with the 5005 port of the JAVA_OPTS

guillaume18:12:59

ok i ended up figuring it out. both configurations must be run separately. interacting with the remote repl process triggers the java debugger that was launched prior to it

guillaume18:12:34

it sure would be nice to have it explained on the cursive page because the broken links leaves you questionning

simon19:12:23

Hi, is there a good way to align imported namespaces such that the :refer or :as all line up?

simon19:12:27

ex.

(:require
    [test.lib.test :refer :all]
    [test.lib.test123 :refer :all])
would become
(:require
    [test.lib.test    :refer :all]
    [test.lib.test123 :refer :all])

danielcompton20:12:28

Is there a way in Cursive to navigate to the test namespace without creating a test for it?

danielcompton20:12:48

Navigate to Test Subject wants to create a test if one doesn't exist. If I scroll to the top of the file and put my cursor on the ns form then it navigates to the test file, but not if it's on a function

cfleming22:12:32

@misha Settings-&gt;Editor-&gt;Live Templates

♥️ 4
cfleming22:12:29

@guillaume.carbonneau Yes, I’m currently re-vamping my documentation, and I’ll add that to the to-do list.

cfleming22:12:57

@simon.orlovsky Not at the moment, sorry.

cfleming22:12:28

@danielcompton I don’t think so, no. Perhaps Navigate… should prompt before creating a new test?

danielcompton22:12:14

It prompts, but if I don't accept the prompt then I don't navigate

cfleming22:12:56

Oh, so if you say no to the test, then you’d like it to navigate to the file?

danielcompton22:12:13

I think they probably need to be different commands

danielcompton22:12:33

One says "Take me to the test namespace", the other says "Take me to the test for this function, or offer to create it if it doesn't exist"

danielcompton22:12:15

You could make "Navigate to Test namespace" another option under the "Choose Test for ..." menu

cfleming22:12:37

I’d definitely prefer that to a new command.

cfleming22:12:45

I’ll look to see what IntelliJ does for e.g. Java