Fork me on GitHub
#cursive
<
2017-08-22
>
Pablo Fernandez11:08:13

What is Clojure Application for in the Run/Debug Configurations?

wilkerlucio13:08:57

morning, I remember in Cursive to navigate to test path, there was a configuration somewhere to set regex on how to find the test source from the file, can someone remember me where that was please?

souenzzo15:08:52

Just changed my intellij -Xmx from 750 to 2048. No more lags 🙂

erichmond15:08:58

@souenzzo where do you do that?

souenzzo15:08:51

vim ~/idea-IU-171.3780.107/bin/idea64.vmoptions on my machine

erichmond15:08:10

Linux? or OS X?

erichmond15:08:32

nvm, found it, thanks!

erichmond15:08:06

that setting

taylor16:08:54

is there a shortcut for vertically aligning map key/values? I notice it happens automatically when I do certain refactorings

taylor16:08:05

nevermind, found it! (It’s just “Reformat Code”)

cfleming21:08:18

@wilkerlucio Settings-&gt;Langs &amp; Frameworks-&gt;Clojure-&gt;Test integration

wilkerlucio21:08:53

@cfleming that was it, thanks 🙂

sashton21:08:20

I noticed that indentation in cljs files is incorrect if I don’t include [org.clojure/clojurescript _] in my lein :dependencies. What is the link there? Is that an explicit search which Cursive does of the lein project?

sashton21:08:02

Context: I’m writing a namespace to be executed with lumo, so I wasn’t planning on doing much with lein

wilkerlucio21:08:40

@sashton I believe cursive needs that in order to index the cljs namespaces, without the cljs dep all cljs namespaces get to be unknown

cfleming22:08:37

@sashton Right, @wilkerlucio is correct. There isn’t a great way to use Lumo right now, although I’ve discussed it with Antonio (and with Mike for planck support) and I’m planning to add that soon.

cfleming22:08:04

@taylor Right, it’s just reformatting if you have the map alignment option enabled.

cfleming22:08:42

@dm3 Sorry, I’ll look at that issue again and see what I can do or if I have a better suggestion.

sashton22:08:13

thanks! any chance that other filetypes could also be formatted using typical clojure rules? for example https://github.com/candid82/joker uses clojure-compatible syntax, but *.joke files are similarly not formatted by Cursive.

cfleming22:08:28

@sashton Sure, you can customise that under Settings-&gt;Editor-&gt;File Types

cfleming22:08:46

Again, it may work annoyingly if you don’t have Clojure added as a dependency.

sashton22:08:15

ah, nice. i’ll give it a try