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

File scoped namespace option has a typo in the template when generating a "razor.cs" file #127

Open
mtranchi opened this issue Jul 5, 2022 · 0 comments

Comments

@mtranchi
Copy link

mtranchi commented Jul 5, 2022

Description

When one has the file-scoped namespaces option turned on in Tools > Options > Yada Yada, the generated file is missing the closing brace on the class if creating a code-behind file for a razor file (e.g. MyComponent.razor.cs).

Steps to reproduce

  1. Turn on file-scoped namespaces under Tools > Options > Text Editor > C# >Code Style > Code block preferences > Namespace declarations.
  2. Generate a code-behind file for a Blazor component (e.g. MyComponent.razor.cs).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant