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

Smart Break Line (Shift+Enter) does not work in Razor editor in Blazor #10376

Open
vsfeedback opened this issue May 16, 2024 · 0 comments
Open
Labels
author: migration bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author feature request Large improvement request
Milestone

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


In Razor @code block pressing Shift+Enter after method name does NOT insert pair of curly braces as it is common in .cs files.
A productivity feature called "Smart Break Line".

Example:
File: Home.razor:

<some razor markup>

@code {
  void NewMethod() <Shift+Enter> here should insert vertically aligned pair of curly braces
}

VS 2022 17.9.6


Original Comments

Feedback Bot on 5/7/2024, 06:14 PM:

(private comment, text removed)

Artak Mkrtchyan [MSFT] on 5/15/2024, 08:29 AM:

(private comment, text removed)

Artak Mkrtchyan [MSFT] on 5/15/2024, 08:29 AM:

(private comment, text removed)

Feedback Bot on 5/15/2024, 06:30 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@dotnet-policy-service dotnet-policy-service bot added untriaged author: migration bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author labels May 16, 2024
@phil-allen-msft phil-allen-msft added the feature request Large improvement request label May 16, 2024
@phil-allen-msft phil-allen-msft added this to the Backlog milestone May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author: migration bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author feature request Large improvement request
Projects
None yet
Development

No branches or pull requests

2 participants