Skip to content

Indention gets messed up when using ; in @code block #11488

@MarvinKlein1508

Description

@MarvinKlein1508

Whenever you use a semicolon within an @code block the idention of razor component parameters gets messed up until you format the document again. When you enter another semicolon it will repeat itself. Please take a look on this short video:

2025-02-14.09-25-06.mp4

Here is the repository: https://github.com/MarvinKlein1508/FluentUI-autocomplete-twice

This results in many unneccessary changes in our pull requests because we are not constantly formating our documents over and over again.

For example:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions