This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-19
Channels
- # aws (4)
- # aws-lambda (2)
- # beginners (67)
- # boot (38)
- # cider (32)
- # cljs-dev (12)
- # cljsrn (2)
- # clojars (2)
- # clojure (190)
- # clojure-chicago (1)
- # clojure-dusseldorf (2)
- # clojure-germany (1)
- # clojure-greece (3)
- # clojure-italy (5)
- # clojure-russia (6)
- # clojure-spec (47)
- # clojure-uk (10)
- # clojurescript (59)
- # cursive (9)
- # data-science (14)
- # datomic (24)
- # devops (16)
- # emacs (8)
- # fulcro (25)
- # graphql (30)
- # hoplon (123)
- # juxt (15)
- # lambdaisland (2)
- # leiningen (4)
- # luminus (6)
- # lumo (9)
- # off-topic (11)
- # om (7)
- # onyx (8)
- # re-frame (14)
- # reagent (5)
- # ring-swagger (5)
- # shadow-cljs (46)
- # spacemacs (41)
- # specter (8)
- # testing (8)
- # unrepl (31)
- # yada (18)
that's interesting - instead of a line based repl there could be a form based repl
@metametadata any idea how that would work on the terminal?
@pesterhazy it would be convenient to use some key combo, e.g. Option+Up
. And it can simply copy-paste the last submitted string (i.e. everything typed before I clicked Enter
):
cljs.user=> [123<<Shift+Enter>>
#_=> 456]<<Enter>>
[123 456]
cljs.user=> <<Opt+Up>>[123
#_=> 456]
I.e. I'm OK with REPL still be string-based but not split history at newlines, so to speak.
That's likely possible. I can't remember the js file name, but server.js should point you in the right direction for configuring the readline setup
Something like opt+up/down moving between forms and up/down moving between lines would be really neat.
let’s open an issue for that
it’s basically the equivalent of this Planck issue: https://github.com/mfikes/planck/issues/120