This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-01
Channels
- # announcements (1)
- # aws (3)
- # beginners (150)
- # boot (12)
- # calva (7)
- # carry (3)
- # cider (1)
- # clara (51)
- # cljdoc (17)
- # cljs-dev (17)
- # cljsrn (1)
- # clojure (64)
- # clojure-austin (2)
- # clojure-india (1)
- # clojure-italy (10)
- # clojure-nl (4)
- # clojure-spec (42)
- # clojure-uk (63)
- # clojurescript (24)
- # core-async (23)
- # cursive (6)
- # datascript (7)
- # datomic (5)
- # figwheel-main (43)
- # fulcro (74)
- # hoplon (7)
- # kaocha (30)
- # leiningen (32)
- # mount (51)
- # nrepl (34)
- # off-topic (29)
- # re-frame (6)
- # reagent (10)
- # reitit (13)
- # shadow-cljs (66)
- # slack-help (3)
- # spacemacs (2)
- # specter (5)
- # sql (2)
- # tools-deps (51)
- # yada (13)
Some notes about it here: https://github.com/BetterThanTomorrow/calva/issues/63
Those sticky evaluation results makes things a bit weird for some edits of the code. But I think it is worth it to allow some editing of the code like in the beginning of this gif demo. I hope you others will agree with me. If things get messy, just hit ctrl+esc
.
I want to make Calva Formatter work a bit more while code is typed. This is a test version that uses a “relaxed” formatting when new lines and spaces are typed, and more aggressive formatting when “asked” to format (hitting tab
) for instance.
This makes it so that you can add a few newlines before a bunch of brackets while you add code, and when you want the brackets “collected” you hit tab
. (Assuming you have the remove-surrounding-whitespace?
option on.)
If someone wants to test it and give me feedback I will be most happy. ❤️
Well, I found a horrible misbehaviour in this version (typing (defn
and then trying to add a space, fails). I understand if you people do not want to beta test it with this glitch, so will ry fix it and cook a new VSIX. (But if you want to test it anyway, I will be thrilled. 😄)
Contribute to Calva Formatter by contributing to cljfmt! https://clojureverse.org/t/contribute-to-cljfmt-a-concrete-way-to-help-advancing-the-community-style-guide/3111