This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-15
Channels
- # ai (35)
- # announcements (3)
- # babashka (16)
- # babashka-sci-dev (2)
- # beginners (37)
- # biff (16)
- # calva (5)
- # cider (2)
- # clj-commons (81)
- # clj-kondo (29)
- # cljfx (2)
- # cljs-dev (4)
- # clojars (4)
- # clojure (92)
- # clojure-europe (72)
- # clojure-losangeles (8)
- # clojure-nl (1)
- # clojure-norway (10)
- # clojure-uk (1)
- # clojurescript (20)
- # clojutre (2)
- # conjure (2)
- # data-science (18)
- # datomic (1)
- # emacs (10)
- # fulcro (49)
- # joyride (1)
- # kaocha (23)
- # leiningen (8)
- # lsp (14)
- # meander (5)
- # off-topic (93)
- # polylith (4)
- # re-frame (20)
- # reagent (9)
- # reitit (2)
- # remote-jobs (8)
- # sci (1)
- # shadow-cljs (21)
- # testing (3)
- # vim (27)
- # xtdb (35)
Dear Calva-friends. Ever wanted to re-format an entire form or file, including breaking lines up and such? In this build there is a new command that does this, Calva: Replace Current Form (or Selection) with Pretty Printed Form:
• https://output.circle-artifacts.com/output/job/5c8fee54-c6d9-4361-aa75-72c7f171b31e/artifacts/0/tmp/artifacts/calva-2.0.301-1843-pretty-print-code-3b7b6567.vsix
Please help in testing it. There are some internal changes to the client side pretty printing engine (named calva
) that shoudln't be affected, but if you are using this option for pretty printing, please consider helping to test the VSIX. Thanks in advance! 🙏 ❤️
For #joyride users. This build also has some new API.
• There's an calva/editor.replace
. function that will replace a range in a document with the new text you provide. See https://github.com/BetterThanTomorrow/calva/blob/1843-pretty-print-code/docs/site/api.md#editor.
• A calva/pprint.prettyPrint
function will take a string with Clojure code/data and return a string with a prettier version of the same code. See https://github.com/BetterThanTomorrow/calva/blob/1843-pretty-print-code/docs/site/api.md#pprint.