Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Section formatting issue in ASP.NET Razor view #10796

Open
mkorsukov opened this issue Aug 27, 2024 · 0 comments
Open

Section formatting issue in ASP.NET Razor view #10796

mkorsukov opened this issue Aug 27, 2024 · 0 comments

Comments

@mkorsukov
Copy link

mkorsukov commented Aug 27, 2024

There is a tiny formatting issue happening on section definition only.

VS Code: v1.92.2
O# extension: v2.39.29

Initial code:

@section Controls
{
  <label>
    <span>Office</span>
    // the rest of HTML

After the Format document command:

@section Controls
  {
  <label>
    <span>Office</span>
    // the rest of HTML

PS. The issue doesn't affect such blocks code like layout and code. So formatting remains the same.

@{
  Layout = "/Views/Acquisition/Layouts/MainLayout.cshtml";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants