Home > front end >  Snippets doesn't work on Visual Studio 2022
Snippets doesn't work on Visual Studio 2022

Time:11-23

Version: 17.0.1 Professional

I can't use any snippet. I'm having a hard time, especially on Razor. Help please

enter image description here

CodePudding user response:

The new Razor editor in VS2022 does not have full feature parity with the older one from previous versions; it does however have new features specific to newer ASP.NET Core runtime features. There is still continued effort in achieving feature parity, so please send feedback to help the team prioritize which features are in highest demand.

You can turn toggle back to the old editor in the HTML editor settings (Tools -> Options -> Text Editor -> HTML -> Advanced -> Use legacy Razor editor for ASP.NET Core) Tools/Options settings

  • Related