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

Format-on-paste should not operate inside string literals. #720

Closed
mtnygard opened this issue Aug 1, 2020 · 1 comment
Closed

Format-on-paste should not operate inside string literals. #720

mtnygard opened this issue Aug 1, 2020 · 1 comment
Labels
bug Something isn't working formatting

Comments

@mtnygard
Copy link

mtnygard commented Aug 1, 2020

I tried pasting extra space characters to the front of the 2nd or 3rd line of a multiline string. VSCode pasted the characters then Calva-fmt removed them immediately.

@PEZ
Copy link
Collaborator

PEZ commented Aug 1, 2020

I agree. Though I have no clue why this is happening. Calva-fmt generally leaves the contents of strings alone, but when pasting, something is going on...

@bpringe bpringe added bug Something isn't working formatting labels Aug 1, 2020
@bpringe bpringe closed this as completed in 92021ad Aug 5, 2020
PEZ added a commit that referenced this issue Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working formatting
Projects
None yet
Development

No branches or pull requests

3 participants