Fork me on GitHub
#cursive
<
2018-12-18
>
sooheon00:12:47

What could cause synchronizing leiningen project to hang, and how would I reset it?

sooheon00:12:02

Whoops got my answer immediately: was hanging because wasn’t able to connect to maven to resolve deps

ingesol10:12:23

Hi! Struggling to figure out how to enforce this rule in the cursive config. Is it possible? https://github.com/bbatsov/clojure-style-guide#one-space-indent

sooheon04:12:07

Default to Only indent - OFF, One space list indent - ON

sooheon04:12:10

that should do it :)

ingesol20:12:21

@U06ANT2JK Perfect, that did the trick! 🙂 Thanks

ingesol20:12:08

on a side note: I was not alerted about your response, saw it by accident just now. I would have expected a notification on a response in a thread I started. Maybe an @ is required?

sooheon00:12:25

@U21QNFC5C there is a setting under notifications, notify me for responses to threads :)

👍 4
grav14:12:21

I just downloaded IDEA 2018.3.1 and it says Cursive isn't compatible. I'm also not able to enable EAP versions, since I never installed IDEA and Cursive on this machine before.

grav14:12:37

Is there a repository url to the EAP builds somewhere that I can just add?

dadair18:12:10

I’m having an issue setting up a new hire’s IntelliJ+Cursive environment with the new deps support. I’m perplexed because we have two other machines recently set up working perfectly. We keep getting a Build Sync failure when importing from deps.edn, and Cursive is throwing an exception.

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(ArrayList.java:653)
    at java.util.ArrayList.get(ArrayList.java:429)
    at com.intellij.ui.SortedListModel.getElementAt(SortedListModel.java:101)
    at javax.swing.JComboBox.getItemAt(JComboBox.java:1486)
    at cursive.repl.runner.LocalConfigurationEditor.resetEditorFrom(ReplRunConfigurations.kt:681)
    at cursive.repl.runner.LocalConfigurationEditor.resetEditorFrom(ReplRunConfigurations.kt:564)
   ...

dadair18:12:25

Has anyone run into this before? The project import steps are identical between the machines. The same setup is working across IntelliJ CE/Ultimate 2018.3, and Cursive v1.8.0-2018.3.

dadair18:12:48

Seem to have fixed the issue. The path to the clojure command was not being set automatically for some reason.

cfleming03:12:01

@U0E2EQFME Ugh, sorry about that - the next version will have better validation for that.

salam18:12:33

@grav Have you tried uninstalling and then reinstalling Cursive? I'm using Cursive v1.8.0-2018.3 without any problem on IntelliJ IDEA 2018.3.2 (Ultimate Edition, JRE: 1.8.0_152-release-1343-b26 x86_64, JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o, macOS 10.14.2)

grav18:12:00

@abdusalam I haven’t been able to install it yet, so nothing to uninstall...

salam18:12:10

That's weird, the latest release of Cursive should be compatible with IntelliJ IDEA 2018.3.*. Have you tried manually installing it from https://plugins.jetbrains.com/plugin/8090-cursive here?

grav16:12:33

Yes, that also doesn’t work. The computer is on Christmas vacation so I’ll investigate next year ;-)

salam16:12:11

😁 good luck, merry Christmas, and happy New Year then!

grav19:12:22

Same to you:-)