mentat-collective / road-to-reality

The Road to Reality essay and newsletter source. A journey through computational physics, from eval/apply to the Einstein field equations.
https://reality.mentat.org
MIT License
90 stars 10 forks source link

Add Calva REPL connect settings #16

Open PEZ opened 1 year ago

PEZ commented 1 year ago

Addressing:

I've added a Calva Custom Connect Sequence to streamline the starting of the REPL. And I then also added a Calva section in the README. Maybe it could be an editors.md file at some point...

Please note that I've also remove .vscode from .gitignore, since the settings are in this folder. (And I generally think it makes sense to keep this file in the repo.)

sritchie commented 1 year ago

Thank you @PEZ , this is wonderful! I'll get Calva fired up and test this out before merging, as I've been looking for an excuse to use it more heavily.

I may also take this approach and apply it to the various templates I've got like https://leva.mentat.org/#project-template that are generating deps.edn files with an alias that folks will usually want activated...

Thank you!@

PEZ commented 1 year ago

You are welcome, @sritchie! Make sure it is the latest Calva (2.0.364), because it contains a fix to enable the keyboard shortcut for opening a markdown-based Clerk notebook (custom commands previously only worked from Clojure files).