calva

pez 2026-02-21T13:10:36.324669Z

Dear Calva friends. calva https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.560 • Add: https://github.com/BetterThanTomorrow/calva/issues/3086. Controlled by the calva.paredit.toggleCommentBehavior setting (`ignoreParentForm`, ignoreCurrentForm, or commentCurrentLine) Now the default behaviour when toggling comments, without a selection, is to ignore out the parent enclosing form. If you prefer ignoring the current form or toggling to non-structural line comments, settings allows you to do this. Thanks @jonurnieta! 🙏 ❤️ calva

4
Max 2026-02-21T14:11:10.553969Z

Is there a way to have access to a keyboard shortcut for discard forms and semicolon comments at the same time? Or only one at a time via the setting?

pez 2026-02-21T14:50:02.423189Z

Not currently. But we could make the command accept an argument and then people can bind shortcuts for any of the supported behaviours.

Max 2026-02-21T14:50:50.113519Z

That would be great

Lukas Domagala 2026-03-06T00:58:19.413549Z

Nice! I had that on my todo list for at least 2 years 😅

chromalchemy 2026-02-22T16:46:13.413109Z

Is there a command to use #_ to toggle comment on a symbol or keyword? This is helpful when debugging.

pez 2026-02-22T16:52:59.803889Z

@chromalchemy you can configure the toggle comments to ignoreCurrentForm .

chromalchemy 2026-02-22T16:54:06.005559Z

Can it be had either way on demand?

pez 2026-02-22T16:55:54.737269Z

> Not currently. But we could make the command accept an argument and then people can bind shortcuts for any of the supported behaviours. 😃

👍 1
Max 2026-02-23T14:09:40.971309Z

Is the work to add that argument already in progress, or would you like an issue?

jramosg 2026-02-23T14:10:44.994449Z

PR is opened and I think we will merge it soon

🎉 2
Max 2026-02-23T14:11:36.393579Z

Awesome, thanks!