Fork me on GitHub
#cursive
<
2019-08-05
>
Teemu Kaukoranta08:08:51

With the new Idea, when I highlight something and type (, the highlighted value is wrapped with (). I don't think this is how my editor worked previously. Anyone know if there is a setting to change this? (I don't think this is related to the known problems with newer versions of Idea..)

conan15:08:18

Try Settings > General > Smart Keys, and look for "Surround selection on typing quote or brace" and "Maintain selection when surrounding with braces"

4
conan12:08:48

It's so far from obvious that one!

joelsanchez08:08:56

2019.2 has been a very positive update for me (I was using 2019.1 and I don't use deps.edn), thank you

joshkh18:08:26

is there a configuration for emacs that matches the alignment options of Cursive? i share projects with those emacs nerds and our pull requests are often littered with whitespace changes.

danieroux18:08:19

We follow https://tonsky.me/blog/clojurefmt and we get near perfect agreement between Emacs and Cursive. https://github.com/cursive-ide/cursive/issues/949 is a difference, as is case and cond alignment. There are a few other corner cases as well.

joshkh20:08:53

many thanks @U9E8C7QRJ. we'll give it a go. 🙂