-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Formatting form with comma whitespace inserts 0 and places the cursor wrong #1370
Comments
Thanks! I've seen similar things, but never such a minimal repro. |
FYI. If you are using the comma to try keep the closing paren in place, that won't work anyway. The formatter removes surrounding whitespace. It's probably why we have that bug, actually, coming to think of it. |
Yes, the comma is intentionally put there. I learned this trick from Sean Corfield's talk on repl development: https://www.youtube.com/watch?v=gIoadGfm5T8&t=957s |
Still, it won't work in Calva. And since a while no such tricks are needed in |
type the Tab key, gives
Note the comma in ,) is intentionally left there.
The text was updated successfully, but these errors were encountered: