Formatting of C# code uses 2 spaces even when settings has 4 spaces #54529
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-CodeStyle
Built-in analyzers, fixes, and refactorings
Milestone
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work] [regression] [worked-in:16.9]
I have this setting for C#, where tabs should create 8 spaces:
! [image.png] (https://aka.ms/dc/image?name=Ba10f966fb9ff47d98eb9844d8b8cc3fd637587993146747634_20210609-093458-image.png&tid=a10f966fb9ff47d98eb9844d8b8cc3fd637587993146747634)
But when I press tab key in the editor, it creates 2 spaces only instead of 8 spaces, as this picture shows:
! [image.png] (https://aka.ms/dc/image?name=B7dcd10fa3ff04694ab2f0da067d0ecd8637587994509264584_20210609-093728-image.png&tid=7dcd10fa3ff04694ab2f0da067d0ecd8637587994509264584)
Original Comments
Feedback Bot on 6/8/2021, 08:16 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Feedback Bot on 6/9/2021, 09:53 AM:
Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: