Fork me on GitHub
agata_anastazja (she/her)20:01:56

Edit: solved 😊 Hello, I have a question around repl set up in intellij with the cursive plugin. I used the `lein new app app_name`  command, and can run the app from my terminal. I haven’t changed anything at all in the scaffolded app. When I try to run the repl, I get Error: Could not find or load main class clojure.main Caused by: java.lang.ClassNotFoundException: clojure.main and all the function names in the text editor are highlighted as not resolved. Any idea what might be causing that?

agata_anastazja (she/her)20:01:12

For the record, I also asked in beginners channel


If you open your Leiningen toolwindow, do you see your project registered there? If not, you can right click on your project.clj and select “Add as Leiningen project”, that should help.

agata_anastazja (she/her)10:01:26

I eventually did click on “Add as Leiningen project” from intellij file tab


Did that fix the problem?


When I paste inside a string "\n" characters are added instead of actually inserting newlines. Is there anyway to disable this (I want the newlines, not the character "\n")


Not sure, but the best workaround I've found is to do "Paste as Plain Text" instead of normal paste : Ctrl - Alt -Shift - V

☝️ 3

thanks - that works for me