dotnet/roslyn
Indenting a raw string literal breaks it when a line starts with different whitespace than the IDE indents with
Offen
#59.594 geöffnet am 16.02.2022
Area-IDEBughelp wanted
Repository-Metriken
- Stars
- (20.414 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)
Beschreibung
Version Used: 17.2-p1
Starting text:
var x =
"""
normal line
line starts with tab char
""";

Select this statement and indent it. The IDE leaves the tab char at the start of the line and inserts spaces after it:
var x =
"""
normal line
line starts with tab char
""";

This is no longer valid syntax.