Skip to content
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

Reformat all edited locations after multicursor structural edit #2738

Closed
pbwolf opened this issue Mar 1, 2025 · 0 comments
Closed

Reformat all edited locations after multicursor structural edit #2738

pbwolf opened this issue Mar 1, 2025 · 0 comments

Comments

@pbwolf
Copy link
Contributor

pbwolf commented Mar 1, 2025

After a multicursor structural edit, the automatic reformat touches only one of the cursors, and loses the other cursors.

Initial

[(foo
   |bar)
 (foo
   |bar)]

Rewrap {}
Actual

[{foo
  |bar}
 {foo
   bar}]

Expected:

[{foo
  |bar}
 {foo
  |bar}]
@pbwolf pbwolf mentioned this issue Mar 2, 2025
12 tasks
@bpringe bpringe closed this as completed in cf2efde Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant