This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (1)
- # babashka (32)
- # beginners (27)
- # calva (4)
- # clojure (18)
- # clojure-australia (2)
- # clojure-europe (11)
- # clojure-spec (8)
- # clojure-uk (15)
- # clojurescript (8)
- # cursive (14)
- # datomic (12)
- # fulcro (36)
- # graalvm (3)
- # graphql (2)
- # jobs (1)
- # meander (1)
- # pathom (5)
- # pedestal (12)
- # re-frame (1)
- # reagent (1)
- # reitit (2)
- # testing (12)
- # vim (2)
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?
For the record, I also asked in beginners channel
How did you set your project up? Did you do something like this?: https://cursive-ide.com/userguide/leiningen.html#import-an-existing-leiningen-project
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.
I eventually did click on “Add as Leiningen project” from intellij
yes, thank you!
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