JetBrains Rider 2024.3 Help

Context actions for Razor

JetBrains Rider provides the following context actions for Razor:

Name

Description

Convert Razor Block markup to Line markup

Converts Razor Block markup to Line markup

Convert Razor Line markup to Block markup

Converts Razor Line markup to Block markup

Move block to code-behind

Moves Blazor @code block to a code-behind file with the corresponding name. Creates the file if it doesn't exist.

Uncomment

Removes comments from a code block

Last modified: 11 February 2024