2

In my Visual Studio Community 2022, Codelens doesn't show options related to git.

Tools > Options > Text Editor > All Languages > CodeLens

My visaul studio doesn't have these options.

  • Show Timeline (Git)
  • Show Authors & Changes (Git)

Not show this options (img)

It shows "0 references" on classes and methods but not "git changes and author"(0 changes | 0 authors)

    0 refernces // but not show => 0 changes | 0 authors
    public void HelloWord()
    {
       Console.WriteLine("Hello Word");
    }

my problem here (img)

I want it to be so.

I want it here (img)

    0 refernces | 0 changes | 0 authors
    public void HelloWord()
    {
       Console.WriteLine("Hello Word");
    }

Question : What do I have to do?

1 Answers1

4

This feature is available in Visual Studio 2022 Professional, and some features are not supported in the community version.

Tools > Options > Text Editor > All Languages > CodeLens

enter image description here

Jiale Xue - MSFT
  • 3,560
  • 1
  • 6
  • 21
  • well, that sucks. I have an enterprise license, but just don't want to install it on all PCs. I'll start using VSCode. – JHBonarius Jun 28 '23 at 08:13