Skip to content

Commit 26fe77c

Browse files
committed
New feature: PR updates
1 parent 66a93de commit 26fe77c

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

docs/version-control/git-create-pull-request.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,18 @@ You can toggle your like status on a comment by clicking on the icon, or by clic
9898

9999
The ability to add comments to a pull request is limited for some Git providers. For example, with GitHub as the provider, you can only add comments on lines within 3 lines of a change, but with the Azure DevOps provider, you can add comments at any line of a file involved in the pull request. In any case, you can only add comments on files that are included in the pull request.
100100

101+
:::moniker range="visualstudio"
102+
103+
You can view comments in the diff view as well as the file view. In the diff view, you can see comments alongside the original and updated code. This makes it easier to see exactly what was changed and why. You can also edit the working file directly in this view.
104+
105+
:::image type="content" source="./media/visualstudio/pr-comment-in-diff.png" alt-text="Screenshot a PR comment in the diff view." lightbox="./media/visualstudio/pr-comment-in-diff.png" :::
106+
107+
In file view or diff view, comments render using Markdown formatting.
108+
109+
:::image type="content" source="./media/visualstudio/pr-comment-markdown.png" alt-text="Screenshot a PR comment that shows Markdown formatting." :::
110+
111+
:::moniker-end
112+
101113
### Use the keyboard
102114

103115
You can navigate across files and individual comments using the icons in the toolbar, or use the following keyboard shortcuts:
886 KB
Loading
117 KB
Loading

0 commit comments

Comments
 (0)