Fork me on GitHub
#cursive
<
2020-01-24
>
rbarker03:01:22

what is the latest version of intellij that cursive supports? i seem to have some issues with 2019.3

Ivar Refsdal10:01:34

Is that with 2019.3.2? I have problems with that too. Did not have problems with 2019.3.1

Ivar Refsdal10:01:33

Welp, 2019.3.2 works again. No idea why

cfleming22:01:35

I’m not aware of any issues, I’m interested to know details on what’s not working correctly.

rbarker21:01:42

everytime i reopen intellij, I have to click my project.clj and ‘add as leiningen project’ - it doesn’t seem to persist when restarting intellij and I have to do this again when restarting intellij

octahedrion09:01:14

what setting do I change to ensure that Cursive never reformats code following any kind of refactoring (e.g. renaming) or any other action at all other than tab or shift-tab ? I keep having to sweep my code back into place because some action is randomly linked with reformatting code way to the right or with some random number of spaces instead of 2. I only ever want code to be indented with 2-spaces

cfleming09:01:56

Right now, you can’t stop it reformatting after things like paredit actions. For the two space indent, see the “Only indent” section here: https://cursive-ide.com/userguide/formatting.html#code-style-settings

👍 4
mbjarland12:01:48

I have a formatting question. I’m probably missing something fundamental but as I’ve failed to find and answer I figured I would ask. Is there a way in cursive to align the first expression in a threading macro with the expression on the next line. Currently it does as in the image for me. I would like the two (parse-… lines to be aligned.

cfleming22:01:29

Setting the parameters to 0 will do what you want, it will treat all params to -> the same.

Joni12:01:28

Any idea why in .cljc when I have try to declare a function in the cljs scope it breaks all the syntax highlighting, but it works well if it's declared as :clj?

rafael17:01:07

Seems like Cursive 1.9.1 eap2 is not compatible with Idea EAP 2020.1. I got the following error after updating idea:

The Cursive (id=com.cursiveclojure.cursive, path=~/.local/share/JetBrains/IntelliJIdea2020.1/clojure-plugin, version=1.9.1-eap2-2019.3) plugin is incompatible (target build range is 193.0 to 193.*).

cfleming22:01:17

No, it’s not - I’ll try to get an EAP out ASAP supporting that.

rafael14:01:55

That'd be awesome.