How to format the Razor directive attribute to align with other attributes for control

Welden, Jerome A. (VAL) 0 Reputation points
2023-08-30T17:42:14.9533333+00:00

I have Visual Studio Enterprise 2022 version 17.7.3, When I format my razor page the razor directive attributes are left aligning. I have gone through the setting trying to find where I can change how it formats but have been unsuccessful. A colleague of mine has an older version of Visual Studio and it formats as expected. We exported his setting and imported into mine and it still left aligns the razor directive attributes.

Developer technologies | .NET | Blazor
Developer technologies | Visual Studio | Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.