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
Suppose you have the source code which is represented by the following C# string literal:
"public\tclass\tFoo{}"
If you attempt to only fix the first tab, the result is correctly indented.
If you attempt to fix the first tab and then the second tab, the result is correctly indented.
If you attempt to correct only the second tab, it is indented one space too many.
This occurs because the code fix assumes each character preceding the whitespace which is being fixed has a width of 1 character.
This problem is most likely to appear when using the fix all provider. The batch fixer applies each change in isolation and merges the result, so lines containing multiple tab characters separated by non-whitespace characters are frequently incorrect in the result.
The text was updated successfully, but these errors were encountered:
Suppose you have the source code which is represented by the following C# string literal:
"public\tclass\tFoo{}"
This occurs because the code fix assumes each character preceding the whitespace which is being fixed has a width of 1 character.
This problem is most likely to appear when using the fix all provider. The batch fixer applies each change in isolation and merges the result, so lines containing multiple tab characters separated by non-whitespace characters are frequently incorrect in the result.
The text was updated successfully, but these errors were encountered: