cursive

2025-02-11T16:37:04.811849Z

ok this one is debatable, but:

2025-02-11T16:37:32.797479Z

in this case, 'a doesn't actually reference the symbol in the let binding

2025-02-11T16:37:56.904429Z

renaming the symbol also renames 'a

2025-02-11T16:38:17.036949Z

I can see why it does that, but it caught me off guard, and I thought I'd let you know.

2025-02-11T16:39:23.178529Z

(it's also probably a very rare use case, and I didn't notice I used the same symbol twice like that)

manas_marthi 2025-02-11T04:12:47.060449Z

When I ask cursive to format a form, Cursive indents by 4 spaces. Calva is using 2 space indentation when I hit tab. As per pez, Calva is using formatting rules of cljfmt . How do I configure Cursive to use cljfmt.

salam 2025-02-11T05:16:05.280499Z

well, you cannot, yet: https://github.com/cursive-ide/cursive/issues/1403 (please vote 🙂). but you can mimic cljfmt indentation rules by using the Cursive configurations in this ClojureVerse post: https://clojureverse.org/t/cursive-how-to-match-cljfmt-formatting/7246

cfleming 2025-02-11T06:50:52.411029Z

The cljfmt config matching is really a separate issue. If Cursive is using 4 space indents, you probably have Settings | Editor | Code Style | Clojure | Tabs and Indents | Indent set to something other than 2.

👍🏽 1