Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 1 KB

ide_calva.md

File metadata and controls

17 lines (10 loc) · 1 KB

Using Calva

Easiest way to hack on this project using Calva is to start the REPL and connect it using Calva Jack-in

  1. Open the project in a VS Code window.
  2. Issue the VS Code command: Calva: Start a Project REPL and Connect (aka Jack-in)
  3. In the Project type menu, choose Electric Starter App
  4. Soon the Calva Output window will print 👉 App server available at http://0.0.0.0:8080

When editing .cljc files, Calva will evaluate forms in the currently connected CLJC REPL. There's a command to toggle it between CLJ and CLJS. You can also use the statusbar cljc/clj[s] button to toggle this.

When having multiple browser tabs open wit the app Calva only sends evaluations to one of the apps. Check with println to see which console prints. If you know the shadow-cljs API well, please consider a PR on the Calva repository to fix this problem.

See calva.io for more.