问题
The latest version of VS 2019 Community came out with CodeLens enabled. Is there any CodeLens add-on available for VS 2019 Community showing the git history of the given method, like this excellent one for Visual Studio Code: https://github.com/eamodio/vscode-gitlens?
回答1:
When I click on the history link of code lens in Enterprise:
I see a history listing. I have not added any extensions to get this. (Do ensure "Show Authors & Changes (Git)" is enabled in Options | Text Editor | All Languages | Code Lens.)
Previously when Code Lens was added to Professional it was added with full functionality, I have assumed the same applies to Community.
Edit
It turns out that Community Edition has a reduced code lens:
The source control CodeLens indicators are not available in Visual Studio Community edition.
From https://docs.microsoft.com/en-gb/visualstudio/ide/find-code-changes-and-other-history-with-codelens?view=vs-2019.
来源:https://stackoverflow.com/questions/55610991/is-there-any-codelens-add-on-available-that-shows-the-git-history-of-the-given-m