This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-20
Channels
- # announcements (27)
- # aws (1)
- # beginners (62)
- # boot (5)
- # calva (56)
- # clj-kondo (6)
- # cljdoc (3)
- # cljsrn (4)
- # clojure (65)
- # clojure-dev (17)
- # clojure-europe (2)
- # clojure-italy (17)
- # clojure-nl (24)
- # clojure-spec (30)
- # clojure-uk (14)
- # clojurescript (35)
- # clr (7)
- # cursive (8)
- # data-science (3)
- # datascript (38)
- # datomic (15)
- # emacs (16)
- # fulcro (34)
- # hyperfiddle (1)
- # immutant (1)
- # luminus (7)
- # nrepl (1)
- # off-topic (38)
- # pedestal (2)
- # planck (10)
- # re-frame (7)
- # reagent (7)
- # reitit (9)
- # shadow-cljs (36)
- # sql (19)
- # tools-deps (11)
- # vim (64)
- # xtdb (18)
@nxtk I just looked at the *print-namespaced-maps*
thing. It’s definitely fixed in recent nREPL versions. I’m not sure why it doesn’t work in :init
, but it also doesn’t work in :init
in lein repl
:
~/d/c/cursive-1541> cat project.clj
(defproject cursive-1541 "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url ""
:license {:name "Eclipse Public License"
:url ""}
:dependencies [[org.clojure/clojure "1.9.0-alpha13"]]
:repl-options {:init (set! *print-namespace-maps* false)})
~/d/c/cursive-1541> lein repl
nREPL server started on port 53237 on host 127.0.0.1 -
REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.9.0-alpha13
Java HotSpot(TM) 64-Bit Server VM 1.8.0_144-b01
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
user=> *print-namespace-maps*
true
user=>
The :welcome
thing is because lein translates that internally into an option that it then passes to REPL-y (https://github.com/trptcolin/reply), which Cursive doesn’t use.
Cursive doesn't have a way to only format VCS changed text, right? (It seems you have to manually select a scope to be formatted, or format the entire file.)
@mfikes The doc says yes: https://www.jetbrains.com/help/idea/reformat-file-dialog.html