You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This affects ConstructorDeclarationSyntax and BaseMethodDeclarationSyntax.
IfStatementSyntax was easy to pull out the LeadingTrivia. This was less obvious. But looking at that may help.
Expected Formatting
namespaceSomeNamespace{publicclassClassName{publicvoidExactly80(IApplicationBuilderapp,IWebHostEnvironmentenv){return;}// this shouldn't affect breakingpublicvoidExactly80(IApplicationBuilderapp,IWebHostEnvironmentenv){return;}}}
Actual Formatting
namespaceSomeNamespace{publicclassClassName{publicvoidExactly80(IApplicationBuilderapp,IWebHostEnvironmentenv){return;}// this shouldn't affect breakingpublicvoidExactly80(IApplicationBuilderapp,IWebHostEnvironmentenv){return;}}}
The text was updated successfully, but these errors were encountered:
There are some more edge cases that need to be handled
publicclassClassName{voidMethod(){varfileContents=File.ReadAllText(file,// leading here should break parametersencoding?GetEncoding(1252):encoding,cancellationToken);varfileContents=File.ReadAllText(file,// leading here should break parameters and GetEncoding should still groupencoding?File.GetEncodinggggggggggggggg(1252):encodinggggggggggggggg,cancellationToken);vareditorConfig=newDictionary<string,string>(){// should break braces correctly["asdfasdf"]="none",["asdf"]="error",};}}
This affects ConstructorDeclarationSyntax and BaseMethodDeclarationSyntax.
IfStatementSyntax was easy to pull out the LeadingTrivia. This was less obvious. But looking at that may help.
Expected Formatting
Actual Formatting
The text was updated successfully, but these errors were encountered: