Skip to content

Commit efb8505

Browse files
authored
Merge pull request #7981 from MicrosoftDocs/main637873887306851317
For protected CLA branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 21fc185 + 4b53a1c commit efb8505

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docs/ide/find-code-changes-and-other-history-with-codelens.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Find code changes and other history with CodeLens
33
description: Learn about CodeLens and how to use it explore the history of your code without having to leave the editor.
44
ms.custom: SEO-VS-2020
5-
ms.date: 11/04/2016
5+
ms.date: 05/05/2022
66
ms.topic: conceptual
77
f1_keywords:
88
- VS.ToolsOptionsPages.Text_Editor.All_Languages.CodeLens
@@ -76,7 +76,7 @@ You need:
7676

7777
- Azure DevOps Services, Team Foundation Server 2013 or later, or Git
7878

79-
- [Skype for Business](/skypeforbusiness/) to contact your team from the code editor
79+
- [Microsoft Teams](/MicrosoftTeams/) or [Skype for Business](/skypeforbusiness/) to contact your team from the code editor
8080

8181
For C# or Visual Basic code that's stored with Team Foundation Version Control (TFVC) or Git, you get CodeLens details at the class and method levels (*code element-level* indicators). If your Git repository is hosted in TfGit, you also get links to TFS work items.
8282

@@ -117,7 +117,7 @@ Find changes for an entire file in the file-level indicators at the bottom of th
117117
> [!NOTE]
118118
> File-level indicators are not available for C# and Visual Basic files.
119119
120-
To get more details about a change, right-click that item. Depending on whether you are using TFVC or Git, there are options to compare the versions of the file, view details and track the changeset, get the selected version of the file, and email the author of that change. Some of these details appear in **Team Explorer**.
120+
To get more details about a change, right-click that item. Depending on whether you are using TFVC or Git, there are options to compare the versions of the file, view details and track the changeset, get the selected version of the file, and email the author of that change. Some of these details appear in **Team Explorer** in Visual Studio 2019 [version 16.7](/visualstudio/releases/2019/release-notes-v16.7#whats-new-in-visual-studio-2019-version-167/) and earlier. In Visual Studio 2019 [version 16.8](/visualstudio/releases/2019/release-notes-v16.8#whats-new-in-visual-studio-2019-version-168/) and later, these details will appear in **Git Changes**.
121121

122122
You can also see who changed your code over time. This can help you find patterns in your team's changes and assess their impact.
123123

@@ -206,7 +206,7 @@ Find the author of an item by selecting the **authors** indicator or by pressing
206206

207207
![Contact the owner of an item](../ide/media/codelens-contact-item-owner.png)
208208

209-
Open the shortcut menu for an item to see the contact options. If you have Lync or Skype for Business installed, you see these options:
209+
Open the shortcut menu for an item to see the contact options. If you have Lync, Skype for Business, or Teams installed, you see options similar to those in the following screenshot:
210210

211211
![Contact options for an item](../ide/media/codelens-item-contact-menu.png)
212212

@@ -289,6 +289,8 @@ Turn CodeLens file-level indicators on and off using the chevron icons at the bo
289289

290290
**A:** This might happen because CodeLens can't find the work items in Azure Boards or TFS. Check that you're connected to the project that has those work items, and that you have permissions to see those work items. Work item details might also not show if the commit description has incorrect information about the work item IDs in Azure Boards or TFS.
291291

292+
::: moniker range="<=vs-2019"
293+
292294
### Q: Why don't I see the Skype indicators?
293295

294296
**A:** Skype indicators don't appear if you're not signed into Skype for Business, don't have it installed, or don't have a supported configuration. However, you can still send email:
@@ -303,6 +305,8 @@ Turn CodeLens file-level indicators on and off using the chevron icons at the bo
303305

304306
CodeLens doesn't support having different versions of Lync or Skype installed. They might not be localized for all localized versions of Visual Studio.
305307

308+
::: moniker-end
309+
306310
### Q: How do I change the font and color for CodeLens?
307311

308312
**A:** Go to **Tools** > **Options** > **Environment** > **Fonts and Colors**.
@@ -355,4 +359,4 @@ To use the keyboard:
355359

356360
## See also
357361

358-
- [Features of the code editor](../ide/writing-code-in-the-code-and-text-editor.md)
362+
- [Features of the code editor](../ide/writing-code-in-the-code-and-text-editor.md)

0 commit comments

Comments
 (0)