Fork me on GitHub
#cursive
<
2021-10-29
>
tlonist10:10:06

Is there any way to show REPL with presentation mode from intellij?

salam16:10:47

@cfleming i started getting these exceptions from a socket repl:

Error handling response - class java.lang.IllegalArgumentException: No implementation of method: :err of protocol: #'cursive.repl/Handler found for class: nil
Error handling response - class java.lang.IllegalArgumentException: No implementation of method: :out of protocol: #'cursive.repl/Handler found for class: nil
Error handling response - class java.lang.IllegalArgumentException: No implementation of method: :out of protocol: #'cursive.repl/Handler found for class: nil
IntelliJ IDEA 2021.2.3 (Ultimate Edition) Cursive: 1.12.0-eap1-2021.2

cfleming04:10:14

Did anything change about your project that might have caused that?

salam05:10:44

hm… good question. i cannot think of anything special in the project that would cause this. it’s a regular remote socket REPL server that i started using -Dclojure.server.repl="{:port 5555 :accept clojure.core.server/repl}".

salam05:10:30

using the latest version of Clojure

salam05:10:00

you may find the full stack traces and other data from the reports that i submitted within IntelliJ IDEA when this exception was thrown.

butterguns22:10:48

Hi @cfleming. I have a Leiningen project imported using Cursive. The project.clj contains the following dependencies:

[com.mycompany/my-maven-project "5.3-SNAPSHOT"]      ; Maven
[com.mycompany/my-leiningen-project "5.3-SNAPSHOT"]  ; Leiningen
For both of these: the Sources exist within my IDEA project. When I import the project.clj the my-leiningen-project is declared as a Module Dependency. However the my-maven-project is declared as a JAR Dependency. I would like them both to be Module Dependencies. 1. Is that possible? 2. Am I doing something wrong? Thanks!

cfleming04:10:07

Unfortunately this isn't supported at the moment. Could you file an issue and I'll take a look at fixing that? No promises, it may be difficult.

🙏 1