Fork me on GitHub
#cursive
<
2018-12-09
>
ramblurr12:12:38

@manutter51 sorry, i meant namespaces

cfleming22:12:24

@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.

cfleming22:12:10

It works by example, so you do need one example of each alias in your project somewhere that Cursive can index.

ramblurr07:12:00

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.

cfleming22:12:35

@misha You can do this for let etc, Settings-&gt;Editor-&gt;Code Style-&gt;Clojure-&gt;General-&gt;Align let-binding values

cfleming22:12:57

There’s no support for case or cond yet.