Skip to content

Commit 6da58b3

Browse files
committed
edits
1 parent 829e3df commit 6da58b3

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ You can find references in C# or Visual Basic code.
5858
5959
1. To view the referencing code, hover over the reference in the list.
6060

61-
:::image type="content" source="./media/vs-2022/codelens-peek-reference.png" border="false" alt-text="Screenshot that shows how to see the file with the reference by using CodeLens - Peek reference for Visual Studio 2019.":::
61+
:::image type="content" source="./media/vs-2022/codelens-peek-reference.png" border="false" alt-text="Screenshot that shows how to see the file with the reference by using CodeLens - Peek reference for Visual Studio.":::
6262

6363
1. To open the file that contains the reference, double-click the reference.
6464

6565
### Create a code map
6666

6767
To see relationships between the code and its references, you can [create a code map](../modeling/map-dependencies-across-your-solutions.md). In the **Code Map** toolbar, expand the **Show Related** dropdown menu and select **Find All References**:
6868

69-
:::image type="content" source="./media/vs-2022/codelens-references-map.png" border="false" alt-text="Screenshot that shows how to create a map of all references to specific code by using CodeLens in Visual Studio.":::
69+
:::image type="content" source="./media/vs-2022/codelens-references-map.png" border="false" alt-text="Screenshot that shows how to create a map of all references to specific code by using CodeLens in Visual Studio." lightbox="./media/vs-2022/codelens-references-map.png":::
7070

7171
## Find changes in your code
7272

@@ -188,11 +188,11 @@ You can discover unit tests that exist for your C# or Visual Basic code without
188188

189189
1. Review the tests for the code use the **Alt** + **3** keyboard shortcut.
190190

191-
1. If you see the **Warning** icon :::image type="icon" source=".../media/codelens-test-warning-icon.png":::, the tests haven't run yet, so run them.
191+
1. If you see the **Warning** icon :::image type="icon" source="./media/codelens-test-warning-icon.png":::, the tests haven't run yet, so run them.
192192

193193
1. To review a test's definition, double-click the test item in the CodeLens indicator window and open the code file in the editor.
194194

195-
1. To review the test's results, choose the test status **Failed** or **Passed** indicator (:::image type="icon" source=".../media/codelens-test-failed-icon.png"::: or :::image type="icon" source=".../media/codelens-test-passed-icon.png":::) or use the **Alt**+**1** keyboard shortcut.
195+
1. To review the test's results, choose the test status **Failed** or **Passed** indicator (:::image type="icon" source="./media/codelens-test-failed-icon.png"::: or :::image type="icon" source="./media/codelens-test-passed-icon.png":::) or use the **Alt**+**1** keyboard shortcut.
196196

197197
1. To see how many contributors changed this test, who changed this test, or how many changes were made to this test, [find your code's history](#find-changes-in-your-code) and linked items.
198198

@@ -239,7 +239,7 @@ To use the keyboard:
239239

240240
### Q: Can I move the CodeLens heads-up display?
241241

242-
**A:** Yes, choose the **Dock** icon :::image type="icon" source=".../media/codelens-dock-window.png"::: to dock CodeLens as a window.
242+
**A:** Yes, choose the **Dock** icon :::image type="icon" source="./media/codelens-dock-window.png"::: to dock CodeLens as a window.
243243

244244
### Q: How do I refresh the indicators?
245245

@@ -421,14 +421,14 @@ The icon in the **Branch** column indicates how the branch is related to the bra
421421

422422
| Icon | The change came from |
423423
| --- | --- |
424-
| :::image type="icon" source=".../media/codelens-branch-current-icon.png"::: | The current branch |
425-
| :::image type="icon" source=".../media/codelens-branch-parent-icon.png"::: | The parent branch |
426-
| :::image type="icon" source=".../media/codelens-branch-child-icon.png"::: | A child branch |
427-
| :::image type="icon" source=".../media/codelens-branch-peer-icon.png"::: | A peer branch |
428-
| :::image type="icon" source=".../media/codelens-branch-further-away-icon.png"::: | A branch further away than a parent, child, or peer |
429-
| :::image type="icon" source=".../media/codelens-branch-merge-from-parent-icon.png"::: | A merge from the parent branch to a child branch |
430-
| :::image type="icon" source=".../media/codelens-branch-merge-from-child-icon.png"::: | A merge from a child branch to the parent branch |
431-
| :::image type="icon" source=".../media/codelens-branch-merge-from-unrelated-icon.png"::: | A merge from an unrelated branch (baseless merge) |
424+
| :::image type="icon" source="./media/codelens-branch-current-icon.png"::: | The current branch |
425+
| :::image type="icon" source="./media/codelens-branch-parent-icon.png"::: | The parent branch |
426+
| :::image type="icon" source="./media/codelens-branch-child-icon.png"::: | A child branch |
427+
| :::image type="icon" source="./media/codelens-branch-peer-icon.png"::: | A peer branch |
428+
| :::image type="icon" source="./media/codelens-branch-further-away-icon.png"::: | A branch further away than a parent, child, or peer |
429+
| :::image type="icon" source="./media/codelens-branch-merge-from-parent-icon.png"::: | A merge from the parent branch to a child branch |
430+
| :::image type="icon" source="./media/codelens-branch-merge-from-child-icon.png"::: | A merge from a child branch to the parent branch |
431+
| :::image type="icon" source="./media/codelens-branch-merge-from-unrelated-icon.png"::: | A merge from an unrelated branch (baseless merge) |
432432

433433
## Linked work items in Visual Studio 2019
434434

@@ -470,15 +470,15 @@ You can discover unit tests that exist for your C# or Visual Basic code without
470470

471471
:::image type="content" source="./media/codelens-choose-test-indicator.png" alt-text="Screenshot that shows how to choose test status in the code editor with CodeLens in Visual Studio 2019.":::
472472

473-
1. If you see the **Warning** icon :::image type="icon" source=".../media/codelens-test-warning-icon.png":::, the tests haven't run yet, so run them.
473+
1. If you see the **Warning** icon :::image type="icon" source="./media/codelens-test-warning-icon.png":::, the tests haven't run yet, so run them.
474474

475475
:::image type="content" source="./media/codelens-tests-not-yet-run.png" alt-text="Screenshot that shows how to view unit tests not yet run with CodeLens in Visual Studio 2019.":::
476476

477477
1. To review a test's definition, double-click the test item in the CodeLens indicator window and open the code file in the editor:
478478

479-
:::image type="content" source="./media/codelens-unit-test-definition.png" alt-text="Screenshot that shows how to go to a unit test definition with CodeLens in Visual Studio 2019.":::
479+
:::image type="content" source="./media/codelens-unit-test-definition.png" alt-text="Screenshot that shows how to go to a unit test definition with CodeLens in Visual Studio 2019.":::
480480

481-
1. To review the test's results, choose the test status **Failed** or **Passed** indicator (:::image type="icon" source=".../media/codelens-test-failed-icon.png"::: or :::image type="icon" source=".../media/codelens-test-passed-icon.png":::) or use the **Alt** + **1** keyboard shortcut:
481+
1. To review the test's results, choose the test status **Failed** or **Passed** indicator (:::image type="icon" source="./media/codelens-test-failed-icon.png"::: or :::image type="icon" source="./media/codelens-test-passed-icon.png":::) or use the **Alt** + **1** keyboard shortcut:
482482

483483
:::image type="content" source="./media/codelens-unit-test-result.png" alt-text="Screenshot that shows how to view the unit test result with CodeLens in Visual Studio 2019.":::
484484

@@ -533,7 +533,7 @@ To use the keyboard:
533533

534534
### Q: Can I move the CodeLens heads-up display?
535535

536-
**A:** Yes, choose the **Dock** icon :::image type="icon" source=".../media/codelens-dock-window.png"::: to dock CodeLens as a window.
536+
**A:** Yes, choose the **Dock** icon :::image type="icon" source="./media/codelens-dock-window.png"::: to dock CodeLens as a window.
537537

538538
:::image type="content" source="./media/codelens-select-dock-window.png" alt-text="Screenshot of Dock button in CodeLens indicator window in Visual Studio 2019.":::
539539

0 commit comments

Comments
 (0)