Heya guys, I have a total rookie question:
Am I supposed to always have a project before attempting to jack-in to a repl? Or is it possible to just start a repl and connect it to a single .clj file?
I’m using vscode/calva for my clojuring needs & wondering if there is a way to have a playground/sandbox experience with clojure… I mean the repl is supposed to have already solved that problem, but just typing “lein repl” in command prompt means I’ll have to do everything in the command prompt, which is not ideal (I for one prefer an actual code editor)
So far the only solution I’ve found is to make a project (with “lein new”) open said project & then do the whole jack-in process to finally have a “watched” output file inside vscode
But then if I just open a single .clj file (outside of a project context) & try to jack-in, calva spits in my rookie face with a “Cannot read property ‘0’ of undefined”
What’s missing here? Any clue?