Skip to content

Visual Studio 17.6.5: Broken Format Document in @section with closing brace character #8976

Open
@m-gallesio

Description

@m-gallesio

I have noticed the Format Document command (Ctrl + K,D) in Visual Studio (17.6.5) has problems when a @section contains a closing curly brace:

Razor_indentation_problem

Note how the inner closing braces have the same colour of the section delimiters.
The code in the first section uses Aurelia 1's interpolation syntax.
I do not recall this happening with the legacy Razor editor, which does not seem available anymore.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions