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

Indention is wrong in raw string literals #72982

Open
vsfeedback opened this issue Apr 11, 2024 · 0 comments
Open

Indention is wrong in raw string literals #72982

vsfeedback opened this issue Apr 11, 2024 · 0 comments
Labels
Area-IDE IDE-Formatter Code formatter and/or smart indent untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@vsfeedback
Copy link

vsfeedback commented Apr 11, 2024

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work]
There is an issue when using code format and raw string literals. When you wrap a raw string literal in and block the indetion will get mixed up on code format. Sometimes the raw string literal won't even compile because of wrong idention.

I made two small GIF for you:
B92979514d1604dfea91d4d2af94ea455638482621650226890_indent_issue_1

B87132a7bb15f4cc99eef259efc3ca7f5638482621748341122_indent_issue_2


Original Comments

Feedback Bot on 4/9/2024, 09:52 PM:

(private comment, text removed)

Wenwen Fan [MSFT] on 4/10/2024, 03:40 AM:

(private comment, text removed)

marvingross on 4/10/2024, 04:09 AM:

(private comment, text removed)

Wenwen Fan [MSFT] on 4/10/2024, 04:01 AM:

(private comment, text removed)

Wenwen Fan [MSFT] on 4/10/2024, 09:58 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 11, 2024
@Cosifne Cosifne added the IDE-Formatter Code formatter and/or smart indent label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE IDE-Formatter Code formatter and/or smart indent untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

2 participants