Peter Strömberg

Results 622 comments of Peter Strömberg

I see. So it's the indenter, not the formatter. Thanks! I'll have a closer look.

We seem to try to support JS regexes, so a leading `/` trips things up. Right now I can't remember or even imagine a reason why we would want to...

Hi! Thanks for the report. For clarity. Calva is not supposed to kill the repl when you disconnect from it. It's not clear what you expect in that part of...

I wonder if it could be Cursor specific or something else specific to your environment, @gaelrech. I can't reproduce it.

Hello, thanks for reporting! I think part of the problem here is that Calva only formats the form enclosing the cursor. So only the macro invocation in the above example....

Let's calibrate a bit: 1. Auto-indentation happens when you hit enter to get a new line. This is the job for the indent engine. The (new) indent engine doesn't use...

Makes sense. I now checked what happens with `:alias-map` in Calva. *TL;DR: Nothing.* Calva passes on whatever is in the config to `cljfmt/reformat-string`. Calva may touch some config on keys...

Cool! It starts on the wiki under https://github.com/BetterThanTomorrow/calva/wiki/How-to-Hack-on-Calva * The integration with cljfmt is in the fun (i.e. ClojureScript) part of the code base: https://github.com/BetterThanTomorrow/calva/blob/published/src/cljs-lib/src/calva/fmt/formatter.cljs * The immediate TypeScript side...

Thanks! Very good with those examples. I've tried several times to get some kind of consistency into the handling of ignore forms, but it seems I never manage to frame...

The expansion is done there. And it calls [here](https://github.com/BetterThanTomorrow/calva/blob/published/src/cursor-doc/token-cursor.ts#L629), which may also play in. At the bottom of things there are primitives that treat reader tags special, and that I...