tab_width should fall back to indent_size #22601
Labels
Area-IDE
Bug
Developer Community
The issue was originally reported on https://developercommunity.visualstudio.com
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
IDE-Formatter
Code formatter and/or smart indent
Projects
Milestone
Version Used: 15.1
馃敆 Originally posted on developer community by Clinton Ingram (@saucecontrol?).
Steps to Reproduce:
Use the following .editorconfig file:
Expected Behavior:
The editor formats code with a single hard-tab for indentation, which is displayed in the editor with a width of 16 characters. According to the EditorConfig format:
Actual Behavior:
The editor formats code with multiple hard tabs for indentation.
Impacted code:
roslyn/src/Workspaces/Core/Portable/Formatting/FormattingOptions.cs
Lines 14 to 17 in a703709
The text was updated successfully, but these errors were encountered: