Skip to content

Visual Studio is adding unnecessary space between curly braces. #78115

Open
@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[severity:It bothers me. A fix would be nice]
Basically what the title says. I enter an opening brace "{" and VS autocompletes it as "{ }" instead of "{}". I've searched everyone online and the only relevant information involves changes the spacing options under Tools>Options>Text Editor>C#>Code Style>Formatting>Spacing

Except all available sources of information on this list options that don't exist. And all other options that could possibly be interpreted as what I want are already unchecked.


Original Comments

Feedback Bot on 4/9/2025, 10:56 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 4/11/2025, 08:45 AM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IDEuntriagedIssues and PRs which have not yet been triaged by a lead

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions