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.
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");
}
I want it to be so.
0 refernces | 0 changes | 0 authors
public void HelloWord()
{
Console.WriteLine("Hello Word");
}
What do I have to do?
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
After that, make sure you check Enable Code Lens
at the very top of the window and restart your Visual Studio.