- Ensure "Maven Integration" Plugin is enabled in Intellij Idea "Plugins"
- Create a
pom.xmlfile withshadow-cljs pomin terminal - For new projects, right click on the
pom.xmlfile and select from the "Maven" option at the bottom of the list to import the dependencies. git initnpm init- setup remote repl with
Edit Configurationin REPL button provided by Cursive - inside the configuration, choose the nrepl port provided by the
:nreploption in the shadow-cljs.edn file and select the project created by the Maven setup (step 3). - start remote repl with
shadow-cljs clj-repl - watch build with
(shadow/watch :<build name>)in REPL ( comes fromshadow-cljs.ednunder:builds) - in REPL
(shadow.cljs.devtools.api/node-repl)(or other if for figwheel or lein, etc.) - whenever dependencies change in
shadow-cljs.ednfile,shadow-cljs pomin terminal to keep dependencies synced up
- Install "Calva" Plugin
- use ctrl/cmd+shift+p (command selector menu): choose Calva: Start a Project REPL and Connect (aka jack-in)