-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
Version Used:
Version 17.7.0 Preview 2.0
Steps to Reproduce:
- Add
end_of_line = lfto .editorconfig
[*.cs]
end_of_line = lf- Paste the following to Program.cs
var s = new StringBuilder();
s.Append($"{123}");- Paste the following to Program.cs
Console.WriteLine(Regex.Match("", "").Success);
var buffer = (stackalloc byte[32]);
Utf8Formatter.TryFormat(123, buffer, out var bytesWritten);Expected Behavior:
All newlines are LF.
Actual Behavior:
Perhaps the reason for this is that CSharpAddMissingImportsFeatureService does not use IndentBlockFormattingRule.WithOptions(SyntaxFormattingOptions).
Line 173 in c1bc982
| rules: GetFormatRules(text), |
Reactions are currently unavailable



