Certain menu items greyed out in Visual Studio Community 2019

LongInt57 1 Reputation point
2021-03-02T22:16:28.177+00:00

One of my people recently installed Visual Studio Community 2019 and, on my recommendation, added "Format Document" and "View in Browser (Google Chrome)" to the menus. However, those added menu items are greyed out and their respective short-cut keys don't work. The editor is being used for HTML. How can she get those functions working?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,758 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,406 Reputation points
    2021-03-03T04:20:36.07+00:00

    Hi LongInt57,

    I have checked them on my side, and it could work normally, please confirm if the html file is active in editor.
    73567-image.png

    Best Regards, Dylan

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**