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

Use raw string literals if supported by the target language options #243

Closed
kzu opened this issue Jul 3, 2023 · 0 comments · Fixed by #244
Closed

Use raw string literals if supported by the target language options #243

kzu opened this issue Jul 3, 2023 · 0 comments · Fixed by #244
Labels
enhancement New feature or request

Comments

@kzu
Copy link
Member

kzu commented Jul 3, 2023

When string values contain multiple lines with quotes or other otherwise invalid characters in a regular string.

Raw literals are much better to support a wider range of strings, so we should detect C# 11+ and use it in that case.

@kzu kzu added the enhancement New feature or request label Jul 3, 2023
kzu added a commit that referenced this issue Jul 3, 2023
In the cases where the values go through .editorconfig (such as constants and project properties), this isn't necessary (or supported) right now since .editorconfig will truncate multi-line values

Closes #243
kzu added a commit that referenced this issue Jul 3, 2023
In the cases where the values go through .editorconfig (such as constants and project properties), this isn't necessary (or supported) right now since .editorconfig will truncate multi-line values

Closes #243
kzu added a commit that referenced this issue Jul 3, 2023
In the cases where the values go through .editorconfig (such as constants and project properties), this isn't necessary (or supported) right now since .editorconfig will truncate multi-line values

Closes #243
@kzu kzu closed this as completed in #244 Jul 3, 2023
kzu added a commit that referenced this issue Jul 3, 2023
In the cases where the values go through .editorconfig (such as constants and project properties), this isn't necessary (or supported) right now since .editorconfig will truncate multi-line values

Closes #243
@devlooped devlooped locked and limited conversation to collaborators Sep 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant