You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running latest VS Studio 2022 as of 2022/09/08 version 17.3.3.
Still getting strange cshtml formatting with 'ctrl + k' then 'ctrl + d' to format the current document.
when the html is first and the @Sections are placed below the first @section gets formatted correctly, where any that follow or html that follow bellow those @Sections get messed up indentation.
Before updating to 17.3.3 I had 17.1.* and formatting worked fine then
(tried inputting example code to show what i mean but the formatting gets messed up when i try paste in here
There have been a lot of improvements to formatting of @section directives, so need to check if this still repros. The lack of a blank line between the @section blocks could be an issue, as i don't think I've seen that specific scenario reported before.
Running latest VS Studio 2022 as of 2022/09/08 version 17.3.3.
Still getting strange cshtml formatting with 'ctrl + k' then 'ctrl + d' to format the current document.
when the html is first and the @Sections are placed below the first @section gets formatted correctly, where any that follow or html that follow bellow those @Sections get messed up indentation.
Before updating to 17.3.3 I had 17.1.* and formatting worked fine then
(tried inputting example code to show what i mean but the formatting gets messed up when i try paste in here
Have a epic day!
Originally posted by @nastro1995 in #4358 (comment)
what is strange all tags have a closing pair, even in _Layout. and all needed closing braces are there to.
Expected 1
![expected 1](https://user-images.githubusercontent.com/22012322/189072451-d1f47d85-e682-43db-a6d2-da997860cfa4.png)
Actual 1
![wrong-auto-formatting 1](https://user-images.githubusercontent.com/22012322/189072477-bbaf2ae2-c6fc-44d0-ae50-c3698278bdbb.png)
Expected 2
![expected 2](https://user-images.githubusercontent.com/22012322/189072490-7b2976b3-3a65-412e-b6bb-27f4dfc428c8.png)
Actual 2
![wrong-auto-formatting 2](https://user-images.githubusercontent.com/22012322/189072505-5eafbaa7-2b08-4be0-8d4c-9bd6cebb2cea.png)
The text was updated successfully, but these errors were encountered: