Skip to content

Formatting C# removes all indentationΒ #5

@bbugh

Description

@bbugh

Whenever I format a C# document, it removes all indentation. Here's an animated demonstration:

wozyc40nrd

It also doesn't seem to be respecting some of the settings, as I am using defaults which appear to add a space before and after :, but the formatter is stripping surrounding whitespace (not animated):

image

I thought that it was possibly one of my other extensions, so I turned them all off except for ms-vscode.csharp and this extension, then VSCode, but the issue remained.

I am using the latest extension version, on the latest Mac vscode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions