-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the (comment \n ,) trick aka "comma close parens" work on reformatting #945
Comments
Not to say this shouldn't work in Calva, but just curious what your reasons are for saying this. I find that since |
You don't always want to evaluate all that's in the comment block, it may not all be pure functional, you may want to cherry pick because order, or side effects. |
From en evaluation point of view the placement of that last paren doesn't matter at all, though. Can you describe in a bit more detail what ”work easily with the last form” means? |
Just to clarify, if you put your cursor anywhere inside the |
I guess I'm used to moving to the end of a form and "eval last form". |
Current Form goes beyond parlance, actually. You can also place the cursor before the opening paren and use the command. (Even if it seems to be unnecessary work to move the cursor around and evaluate something that you can just |
When writing a comment, the closing parens is ergonomically on the next line, to work easily with the last form.
Reformatting moves it up. In Clover there's a trick with a comma, that keeps the parens in it's place. It would be nice if that would work with Calva.
The text was updated successfully, but these errors were encountered: