azure devops - get a link to a specific line in a Diff or PR
Asked Answered
S

1

9

similar to this question but different.

given a Diff or a PR in Azure Devops, I'd like to get a URL to a specific line (or range).

that way I can send the URL to other people !

Subsistent answered 5/10, 2021 at 22:42 Comment(2)
Did you ever find a working solution for that?Chop
I did not. This other kinda-sorta-related question might have some clues tho: #59534405Subsistent
T
0

As a workaround you can go to the file and line you want to link inside AzDev. When you click on the line number you want to link you get a link icon.

This will provide a url which takes you to the line you want to reference.

If you want to show the code inside the PR comment you will need to copy/paste and use ``` tags.

link icon on line of code in azdev

Teodoor answered 29/2 at 11:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.