Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting of C# code uses 2 spaces even when settings has 4 spaces #54529

Open
vsfeedback opened this issue Jul 1, 2021 · 1 comment
Open
Assignees
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

Comments

@vsfeedback
Copy link

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)

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 1, 2021
@jmarolf jmarolf self-assigned this Jul 1, 2021
@jinujoseph jinujoseph added Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com IDE-CodeStyle Built-in analyzers, fixes, and refactorings help wanted The issue is "up for grabs" - add a comment if you are interested in working on it and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 9, 2021
@jinujoseph jinujoseph added this to the Backlog milestone Jul 9, 2021
@CyrusNajmabadi CyrusNajmabadi added the Need More Info The issue needs more information to proceed. label Nov 2, 2022
@CyrusNajmabadi
Copy link
Member

Need a repro for this.

@ghost ghost added untriaged Issues and PRs which have not yet been triaged by a lead and removed Need More Info The issue needs more information to proceed. labels Nov 2, 2022
@jasonmalinowski jasonmalinowski removed the untriaged Issues and PRs which have not yet been triaged by a lead label Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

5 participants