This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-09
Channels
- # adventofcode (229)
- # announcements (1)
- # beginners (9)
- # boot (1)
- # calva (11)
- # cider (14)
- # clojure (26)
- # clojure-kc (1)
- # clojurescript (46)
- # core-async (10)
- # cursive (6)
- # datomic (53)
- # figwheel-main (2)
- # fulcro (3)
- # hoplon (2)
- # hyperfiddle (1)
- # kaocha (2)
- # off-topic (11)
- # om (5)
- # quil (11)
- # re-frame (7)
- # reagent (6)
- # reitit (9)
- # shadow-cljs (9)
- # spacemacs (5)
- # vim (5)
@manutter51 sorry, i meant namespaces
@ramblurr Yes, this should work. It’s driven by completion, so if you type (str/tr|)
where |
is the caret and you autocomplete, you’ll be offered trim
as a completion, and if you do that then clojure.string :as str
will be added.
It works by example, so you do need one example of each alias in your project somewhere that Cursive can index.
This is probably why I didn't see it work. I added a function to a ns, then in a different ns tried to use it for the first ime, but it wasn't completed.
@misha You can do this for let etc, Settings->Editor->Code Style->Clojure->General->Align let-binding values