![]() |
|
Updated Razor support in Visual Studio Code, now with Blazor support - Printable Version +- Sick Gaming (https://sickgaming.net) +-- Forum: Programming (https://sickgaming.net/forum-76.html) +--- Forum: C#, Visual Basic & .NET (https://sickgaming.net/forum-79.html) +--- Thread: Updated Razor support in Visual Studio Code, now with Blazor support (/thread-90056.html) |
Updated Razor support in Visual Studio Code, now with Blazor support - xSicKxBot - 04-29-2019 Updated Razor support in Visual Studio Code, now with Blazor support Daniel April 18th, 2019 Today we are pleased to announce improved Razor tooling support in Visual Studio Code with the latest C# extension. This latest release includes improved Razor diagnostics and support for tag helpers and Blazor apps. Get Started To use this preview of Razor support in Visual Studio Code install the following: To try out Visual Studio Code with Blazor apps, also install:
What’s new in this release? Improved diagnostics We’ve improved the Razor diagnostics in Visual Studio Code for a variety of scenarios, including floating Code: @Missing end braces: And missing end tags in code blocks: Tag helpers Tag helper completions are now supported in ASP.NET Core projects: As well as completions for tag helper attribute names and values: Blazor Visual Studio Code now works with Blazor apps too! You get completions for components and component parameters: Also data-binding, event handlers and lots of other Blazor goodies! Limitations and known issues This is an alpha release of the Razor tooling for Visual Studio Code, so there are a number of limitations and known issues:
Note that if you need to disable the Razor tooling:
Feedback Please let us know what you think about this latest update to the Razor tooling support in Visual Studio Code by reporting issues in the Razor.VSCode repo. When reporting Razor tooling related issues please use the “Report a Razor Issue” command in Visual Studio Code to capture all of the relevant longs and diagnostic information. Just run the command and then follow the instructions. Thanks for trying out Razor in Visual Studio Code! Daniel Roth Principal Program Manager, ASP.NET Follow Daniel https://devblogs.microsoft.com/aspnet/author/danroth27/feed/ |