This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-23
Channels
- # announcements (1)
- # beginners (21)
- # calva (2)
- # cider (26)
- # clj-kondo (5)
- # cljdoc (4)
- # cljsrn (1)
- # clojure (42)
- # clojure-spec (5)
- # clojure-uk (1)
- # clojurescript (45)
- # cursive (5)
- # data-science (1)
- # datomic (5)
- # emacs (6)
- # fulcro (18)
- # hoplon (8)
- # immutant (1)
- # joker (9)
- # nyc (1)
- # off-topic (72)
- # re-frame (3)
- # reitit (1)
- # rewrite-clj (11)
- # shadow-cljs (9)
- # tools-deps (70)
So, this is what it looks like jacking in to an Edge cljs repl, @dominicm. The user needs to have this in the workspace settings (`http://foo.app/.vscode/settings.json` in this case). Then jack-in, and (after a while) load the app in the browser.
{
"calva.customCljsRepl": {
"name": "Edge",
"startCode": "(do (require 'dev-extras) ((resolve 'dev-extras/cljs-repl)))",
"startingRegExp": "Website listening on:.*",
"connectedRegExp": "Prompt will show"
}
}
I can add the settings to the generated app, if you like (when I have released this Calva feature). Should it be optional, or like the .dir-locals.el
, just be there? I’m suggesting just place it there, and less people will forget to opt it in, it’s not going to hurt anyone who doesn’t need it.