Fork me on GitHub
#cursive
<
2019-10-08
>
roklenarcic09:10:41

how do you people use clojurescript repl? When I start it in my normal REPL I get these popups by IDEA which ask for input and they are impossible to cancel

cfleming22:10:43

@U66G3SGP5 This happens when you’re using nREPL to connect to a streaming REPL, i.e. one that’s expecting a clojure.main-style connection.

cfleming22:10:13

So in Cursive currently you can either use a clojure.main REPL, or use piggieback to use nREPL.

cfleming22:10:31

The very next thing I’m going to add is better support for this.

Toby Clemson11:10:50

Hi all, is anyone having REPL issues with the latest IntelliJ and Cursive? I'm using IntelliJ 2019.2.3 with Cursive 1.9.0-eap4-12-gf4f89862 and I get:

Starting nREPL server...
/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/bin/java ...
Connected to the target VM, address: '127.0.0.1:52386', transport: 'socket'
Connecting to local nREPL server...
nREPL server started on port 52389 on host 127.0.0.1 - 
Cannot find completion initialisation file
Clojure 1.10.1
Error updating completions:
Execution error (ClassNotFoundException) at java.net.URLClassLoader/findClass (URLClassLoader.java:382).
cursive.repl.runtime
on starting the REPL and the Error updating completions: every time I evaluate something.

cfleming22:10:56

No-one else has reported this, I’ll see if I can reproduce it.

Toby Clemson23:10:16

Downgrading from the EAP has solved it for me

Toby Clemson11:10:41

The errors in that block are Cannot find completion initialisation file and

Error updating completions:
Execution error (ClassNotFoundException) at java.net.URLClassLoader/findClass (URLClassLoader.java:382).
cursive.repl.runtime

Chris15:10:25

I'm not having any problems

Chris15:10:32

but I don't use the eap

sooheon16:10:40

Is there any reason cursive would complain about invalid privatekey while trying to resolve a deps.edn project?

sooheon16:10:13

Oh duh, if I’ve got a :git/url dependency

Ludwig20:10:32

hi, is there a way to auto switch to the namespace when evaluating a form? like in calva or protorepl?

cfleming22:10:56

When evaluating a form from a namespace, Cursive will by default evaluate the form in the correct namespace, not the current REPL namespace.

cfleming22:10:55

This is controlled by a config switch, Preferences | Languages &amp; Frameworks | Clojure | REPL options | Evaluate forms in REPL namespace