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

Developer technologies | ASP.NET | ASP.NET Core
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    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

    3 people found this answer helpful.

  2. Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
    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.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.