You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/find-code-changes-and-other-history-with-codelens.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ CodeLens can show you both where and how the individual parts of your code are u
26
26
27
27
:::image type="content" source="./media/vs-2022/codelens-overview.png" border="false" alt-text="Screenshot of CodeLens indicators in the Visual Studio code editor." lightbox="./media/codelens-overview.png":::
28
28
29
-
View details about user's code changes, and use the right-click > **Send email to <user>** option to contact users without leaving the code editor:
29
+
View details about user's code changes, and use the right-click **Send email to \<user>** option to contact users without leaving the code editor:
30
30
31
31
:::image type="content" source="./media/vs-2022/codelens-contact-info.png" border="false" alt-text="Screenshot that shows how to view details about changes made by your team members in CodeLens for Visual Studio.":::
32
32
@@ -80,7 +80,7 @@ You need:
80
80
81
81
For C# (*.cs*) or Visual Basic (*.vb*) code stored with TFVC or Git, CodeLens details are visible at the class and method levels (*code element-level* indicators) within the file:
82
82
83
-
:::image type="content" source="./media/vs-2022/codelens-element-level-indicators.png" "border="false" alt-text="Screenshot that shows code element-level indicators for team contributions in CodeLens for Visual Studio.":::
83
+
:::image type="content" source="./media/vs-2022/codelens-element-level-indicators.png" border="false" alt-text="Screenshot that shows code element-level indicators for team contributions in CodeLens for Visual Studio.":::
84
84
85
85
For file types other than *.cs* or *.vb*, the **Show file level Codelens indicator** option lets you view CodeLens details for the entire file. The *file-level* indicators are displayed at the bottom of the file in the code editor:
86
86
@@ -111,7 +111,7 @@ To get more details about a change, right-click the item. Depending on whether y
111
111
112
112
The indicators show who changed your code over time, which can help you find patterns in your team's changes and assess their impact:
113
113
114
-
:::image type="content" source="./media/vs-2022/codelens-element-level-indicators.png" "border="false" alt-text="Screenshot that shows code element-level indicators for team contributions as a graph in CodeLens for Visual Studio.":::
114
+
:::image type="content" source="./media/vs-2022/codelens-element-level-indicators.png" border="false" alt-text="Screenshot that shows code element-level indicators for team contributions as a graph in CodeLens for Visual Studio.":::
115
115
116
116
Starting in Visual Studio 2022 version 17.12 Preview 2, you can show or hide file-level indicators on the code editor horizontal scrollbar with the **Tools > Options > Text Editor > Advanced** > **Show file level CodeLens indicator** option. This option updates visibility for file types that implement the file-level CodeLens control in the bottom editor scrollbar, such as XAML, HTML, and CSS. The option doesn't affect files that contain inline CodeLens (C# and VB).
117
117
@@ -151,14 +151,14 @@ The icon in the **Branch** column indicates how the branch is related to the bra
151
151
152
152
| Icon | The change came from |
153
153
| --- | --- |
154
-
| :::image type="icon" source=".../media/codelens-branch-current-icon.png"::: | The current branch |
155
-
| :::image type="icon" source=".../media/codelens-branch-parent-icon.png"::: | The parent branch |
156
-
| :::image type="icon" source=".../media/codelens-branch-child-icon.png"::: | A child branch |
157
-
| :::image type="icon" source=".../media/codelens-branch-peer-icon.png"::: | A peer branch |
158
-
| :::image type="icon" source=".../media/codelens-branch-further-away-icon.png"::: | A branch further away than a parent, child, or peer |
159
-
| :::image type="icon" source=".../media/codelens-branch-merge-from-parent-icon.png"::: | A merge from the parent branch to a child branch |
160
-
| :::image type="icon" source=".../media/codelens-branch-merge-from-child-icon.png"::: | A merge from a child branch to the parent branch |
161
-
| :::image type="icon" source=".../media/codelens-branch-merge-from-unrelated-icon.png"::: | A merge from an unrelated branch (baseless merge) |
154
+
| :::image type="icon" source="./media/codelens-branch-current-icon.png"::: | The current branch |
155
+
| :::image type="icon" source="./media/codelens-branch-parent-icon.png"::: | The parent branch |
156
+
| :::image type="icon" source="./media/codelens-branch-child-icon.png"::: | A child branch |
157
+
| :::image type="icon" source="./media/codelens-branch-peer-icon.png"::: | A peer branch |
158
+
| :::image type="icon" source="./media/codelens-branch-further-away-icon.png"::: | A branch further away than a parent, child, or peer |
159
+
| :::image type="icon" source="./media/codelens-branch-merge-from-parent-icon.png"::: | A merge from the parent branch to a child branch |
160
+
| :::image type="icon" source="./media/codelens-branch-merge-from-child-icon.png"::: | A merge from a child branch to the parent branch |
161
+
| :::image type="icon" source="./media/codelens-branch-merge-from-unrelated-icon.png"::: | A merge from an unrelated branch (baseless merge) |
162
162
163
163
## Linked work items
164
164
@@ -288,7 +288,7 @@ Many of the operations described in the following sections are available by usin
288
288
289
289
To use the keyboard to select indicators, select and hold the **Alt** key to display the related number keys, then select the number on the keyboard that corresponds to the desired indicator:
290
290
291
-
:::image type="content" source="./media/codelens-alt-keys.png" alt-text="Screenshot that shows the CodeLens keyboard access numbers in Visual Studio 2019.":::
291
+
:::image type="content" source="./media/vs-2019/codelens-alt-keys.png" alt-text="Screenshot that shows the CodeLens keyboard access numbers in Visual Studio 2019.":::
292
292
293
293
> [!NOTE]
294
294
> To select the **reviews** indicator, select **Alt** while using the **Left Arrow** and **Right Arrow key** to browse.
0 commit comments