Open practicalli-johnny opened 4 years ago
I worked with a student on Saturday who had VS Code and Calva installed. We created a tools.deps project using clj-new
and the Clojure CLI tools. The project was from the figwheel-main template and added reagent as a dependency.
Opening the project and running jack-in clojurescript repl worked perfectly, although a little slow at first to start up (a fairly low powered laptop). Once running everything ran correctly and the project ran the clojurescript repl and opened the browser with the reagent app.
VSCode extension Calva provides excellent support for Clojure development and worked very successfully for nearly all students at the event.
Please add as comments any successes and fails of using Calva for the ClojureBridge event, so we can pass that back to the very active maintainer who can fix any issues. Please state if you used a Leiningen or Clojure CLI / tools.deps project.
Two students had an issue when trying to run the jack-in process that starts the Clojure REPL, helped by Byron and Joe. They were both using Leiningen projects.
When the jack-in command was called, the Calva terminal would should that the nrepl process was starting but then Calva did not seem to connect to this process. There is a file-watcher process that looks for the .nrepl-port file in the root of the project and uses that to connect to the REPL. It seems this is not 100% and any feedback you have may help fix the issue.
Thank you.