VS 2022 stable does not have emmet in razor

Abbas Sheikhider 1 Reputation point
2021-12-19T08:36:42.113+00:00

Hi, i just installed Visual studio 2022 and it doesn't have emmet in "cshtml" files. Thanks

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,177 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Zhi Lv - MSFT 32,016 Reputation points Microsoft Vendor
    2021-12-20T03:20:08.923+00:00

    Hi @Abbas Sheikhider ,

    Visual Studio doesn't have built-in support for Emmet, but there is a free extension you can install to get this functionality: ZenCoding.

    You can also refer this article to submit feedback or report a problem.

    Reference: Visual Studio 2022 add emmet

    Best regards,
    Dillion

    2 people found this answer helpful.

  2. Bruce (SqlWork.com) 56,526 Reputation points
    2021-12-19T17:44:58.72+00:00

    The snippets feature has not been completed for the new razor editor in visual studio 2022.

    You can switch to the legacy editor if snippets is more import than the new razor editor features like hot reload.

    Tools -> Options -> Text Editor -> HTML -> Advanced -> Use legacy Razor editor for ASP.NET

    1 person found this answer helpful.