Fork me on GitHub
#cursive
<
2015-12-22
>
pupeno11:12:44

Since I upgraded to IntelliJ 15 and Cursive 1, I’m having trouble opening projects. Some projects cause IntelliJ to freeze for long enough that I end up killing it.

pupeno11:12:36

This is one of the projects having an issue: https://github.com/carouselapps/to-jdbc-uri

ricardo12:12:23

Hey @cfleming, is there a way to start a Cursive repl with a profile yet? https://cursive-ide.com/archive/1466.html

ricardo12:12:50

Oh, I think I found it.

ricardo12:12:37

Nevermind, didn’t realize that had made it in.

simax9912:12:41

Will cursive still work with IntelliJ 16 EAP Community edition?

snowell13:12:32

I’m seeing a very helpful error: Error running REPL: Error creating JavaParameters

snowell13:12:46

When trying to start a REPL. Anybody seen/fixed this before?

snowell13:12:03

Guess I should mention: IntelliJ CE 15, Cursive 1.1.0-15

snowell13:12:57

Well, I switched over to an nREPL configuration, and that seems to have done the trick. So…yay?

snowell13:12:12

I should say, nREPL in normal JVM process. I still can’t get the Leiningen REPL to start, and that seems like the one I’d want in order to require things from my namespaces. So I guess I rescind my yay

snowell18:12:51

Anybody have any advice to fix this? Google leads me to exactly one result, which doesn’t seem to help

sander19:12:50

is there a tutorial for how to debug cljs-in-node, like https://twitter.com/CursiveIDE/status/629767602575933441 ?

cfleming21:12:51

@pupeno: Hmm, that’s not good. When does the freeze happen?

cfleming21:12:23

@ricardo: Yeah, that came in with the recent lein re-vamp. You can also choose which profiles are used to sync deps in the lein toolwindow.

cfleming21:12:45

@simax99: I don’t think so, but I’m going to start work on that soon.

cfleming21:12:13

@snowell: Sorry, that error message sucks, I know. It generally means that you don’t have an SDK set up for your project.

cfleming21:12:35

I need to look into that since it used to have a better warning, I’m not sure what changed.

cfleming21:12:05

@sander: Not as far as I know, sorry - I’ve never actually done that myself.

sander21:12:49

ok will try sometime simple_smile

cfleming21:12:27

I suspect that you’d need to run node with the --remote-debugging-port=port option, and then connect the IntelliJ JS debugger to it.

cfleming21:12:45

Note that that’s an Ultimate feature, it’s not available in Community edition.

simax9922:12:57

@cfleming: thanks for answering the question re: IntelliJ 16. Did you manage to take a look at https://clojurians.slack.com/archives/cursive/p1450644434001192

cfleming22:12:26

@simax99: I didn’t sorry, I’ll try to look at it today

pupeno23:12:33

@cfleming: when opening the project.

cfleming23:12:02

@pupeno: And the whole UI freezes? What actually happens?

pupeno23:12:01

@cfleming: I get the spinning wheel of death and I have to kill IntelliJ.

pupeno23:12:55

@cfleming: sorry, I have to go, I was just passing by. You can clone the repo, it’s all in there, all the intellij files. I’m happy to provide more info tomorrow, although we are 10 timezones away, so, it can get annoying.

cfleming23:12:17

@pupeno: Ok, I’ll try to reproduce with that repo, thanks.

pupeno23:12:06

@cfleming: at some point, the markdown plug in was causing some issues, but I’m not sure if that’s the case.

cfleming23:12:08

@pupeno: Yes, there are occasionally problems with plugins that do things they shouldn’t according to the threading model at startup. If I can’t reproduce, I might need to get a thread dump from you.