Fork me on GitHub
#cursive
<
2019-12-04
>
indy08:12:27

Hello, I am facing a problem where cursive/intellij is not able to resolve defn and other core functions/macros

indy08:12:50

Cursive error

indy08:12:32

Any ideas how I can resolve this?

Sam White12:12:17

I’ve experienced this before. I never really properly understood the problem but found it was usually resolved by re-importing the project (including resetting the jdk and the pulling dpendencies)

mitchelkuijpers08:12:20

Are you using deps.edn? I alwasy have to tick the system profile in the deps screen.

yonatanel08:12:02

Can functions defined by clojure.core.async/defblockingop be resolved by default?

thheller13:12:44

I'm testing the remote socket repl support in Cursive. does it mess with read for some reason? or am I just confused?

$ clj
Clojure 1.10.1
user=> (read)
1
1
user=>
with cursive remote socket repl
Connecting to remote Socket REPL...
Clojure 1.10.1
(read)
1
=> {:op :eval, :code "1"}

thheller13:12:06

hmm yeah confirmed its cursive.

thheller13:12:08

$ nc localhost 8204
shadow-cljs - REPL - see (help)
To quit, type: :repl/quit
shadow.user=> (read)
1
1
shadow.user=>

thheller13:12:45

can I just get a dumb socket REPL that cursive doesn't mess with at all?

👍 4
jvtrigueros20:12:47

I too would be interested in this, I think that's what would be necessary to get a REPL working with Joker.

👍 4
cfleming21:12:30

Yes, I’m planning to add this too. The current socket REPL is more like prepl.

4
👍 8