Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Razor+New to Visual Studio Code? Get it now.

Razor+

Austin Cummings

|
50,112 installs
| (7) | Free
Improved Razor support for VS Code with a mind towards Blazor
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Razor+

Improved Razor syntax colorization for VS Code.

Features

Supports Razor and Blazor directives.

Directives and Expressions

Support for the @functions directive.

functions

Requirements

None

Extension Settings

None

Known Issues

  • Implicit Razor expressions @doSomething() aren't colored using the C# syntax.
  • Email addresses aren't colored correctly
  • @foreach directives aren't colored correctly
  • HTML nested in Razor code blocks @{} isn't colored as HTML
  • @await isn't colored as C#
  • Razor expressions in HTML attributes aren't colored

Release Notes

0.1.4

  • Improve using directives by using newfound knowledge of regex lookaheads
  • Add keywords and category to package.json
  • Add LICENSE - MIT
  • Support escaped "@" signs

0.1.3

Change name to Razor+

0.1.2

  • Fix @for loop coloring
  • Fix razor comments

0.1.1

Fix broken readme images

0.1.0

Initial release

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft