Open
Description
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)
Activity