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
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?
Not currently. But we could make the command accept an argument and then people can bind shortcuts for any of the supported behaviours.
That would be great
Nice! I had that on my todo list for at least 2 years 😅
Is there a command to use #_ to toggle comment on a symbol or keyword? This is helpful when debugging.
@chromalchemy you can configure the toggle comments to ignoreCurrentForm .
Can it be had either way on demand?
> Not currently. But we could make the command accept an argument and then people can bind shortcuts for any of the supported behaviours. 😃
Is the work to add that argument already in progress, or would you like an issue?
PR is opened and I think we will merge it soon
Awesome, thanks!