This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-31
Channels
- # announcements (4)
- # babashka (73)
- # beginners (128)
- # bristol-clojurians (1)
- # calva (8)
- # cider (8)
- # clj-kondo (4)
- # clojars (7)
- # clojure (148)
- # clojure-dev (16)
- # clojure-europe (5)
- # clojure-gamedev (1)
- # clojure-italy (10)
- # clojure-nl (7)
- # clojure-uk (57)
- # clojurescript (57)
- # clojutre (1)
- # community-development (2)
- # cursive (7)
- # data-science (1)
- # datascript (5)
- # datomic (9)
- # events (6)
- # figwheel-main (1)
- # fulcro (91)
- # garden (11)
- # graalvm (14)
- # graphql (1)
- # immutant (4)
- # jobs (1)
- # kaocha (33)
- # off-topic (63)
- # onyx (3)
- # pathom (4)
- # re-frame (23)
- # ring-swagger (1)
- # shadow-cljs (49)
- # sql (6)
- # testing (8)
- # tools-deps (45)
- # vrac (1)
- # xtdb (10)
Hello! Is there a way to tell Cursive to not indent arguments based on the previous argument but to always ident them by 2 spaces (for a given macro)? I know about "configure indentation" but this macro has 3 optional arguments and the body so setting a fixed number does not help. This is what I want:
(div
"Hello"!)
(div {:id "mydiv"}
"Hello"!)
(div :.red.welcome {:id "mydiv"}
"Hello"!
(strong "there!")
See here: https://cursive-ide.com/userguide/formatting.html#code-style-settings - “Only indent” is the option you want.
thanks a lot!
hi, the autocomplete function is not working for me. what can I do to fix it? please
nor even the documentation pop is working.
it is related with shadow, I hove another project in lein and it works fine
Did you follow this and import a POM? https://shadow-cljs.github.io/docs/UsersGuide.html#_cursive