This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-05
Channels
- # announcements (3)
- # beginners (225)
- # calva (3)
- # cider (110)
- # circleci (18)
- # clj-kondo (15)
- # cljdoc (1)
- # cljsrn (12)
- # clojure (77)
- # clojure-dev (39)
- # clojure-europe (3)
- # clojure-houston (2)
- # clojure-italy (9)
- # clojure-nl (16)
- # clojure-romania (1)
- # clojure-spec (5)
- # clojure-uk (20)
- # clojuredesign-podcast (28)
- # clojurescript (89)
- # core-async (4)
- # cursive (10)
- # datomic (3)
- # defnpodcast (5)
- # emacs (17)
- # events (1)
- # figwheel (4)
- # graalvm (6)
- # juxt (1)
- # pathom (4)
- # pedestal (5)
- # re-frame (4)
- # remote-jobs (3)
- # rewrite-clj (4)
- # shadow-cljs (90)
- # spacemacs (2)
- # sql (7)
- # tools-deps (4)
- # vim (52)
- # xtdb (7)
With the new Idea, when I highlight something and type (
, the highlighted value is wrapped with ()
. I don't think this is how my editor worked previously. Anyone know if there is a setting to change this? (I don't think this is related to the known problems with newer versions of Idea..)
Try Settings > General > Smart Keys, and look for "Surround selection on typing quote or brace" and "Maintain selection when surrounding with braces"
Thank you @U053032QC!
2019.2 has been a very positive update for me (I was using 2019.1 and I don't use deps.edn), thank you
is there a configuration for emacs that matches the alignment options of Cursive? i share projects with those emacs nerds and our pull requests are often littered with whitespace changes.
We follow https://tonsky.me/blog/clojurefmt and we get near perfect agreement between Emacs and Cursive. https://github.com/cursive-ide/cursive/issues/949 is a difference, as is case
and cond
alignment. There are a few other corner cases as well.
(https://github.com/danieroux/emacs/commit/09403e601a1d0d0e33fe0d2c3238e77bef1c53b6 is the Emacs config for that)
many thanks @U9E8C7QRJ. we'll give it a go. 🙂