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
Would be nice to have support for URL links when hosting code on Azure DevOps
They are of the form: https://dev.azure.com/ORG/TEAM/_git/REPO?path={path}&version={commit}&line={line_low}&lineEnd={line_high}&lineStartColumn=1&lineEndColumn=1&lineStyle=plain
The {line} one is easy: https://dev.azure.com/ORG/TEAM/_git/REPO?path={path}&version={commit}{line}&lineStartColumn=1&lineEndColumn=1&lineStyle=plain with LineRangeFormatting("&line=", "&lineEnd=")
The commit is a bit harder... ADO annoyingly prefixes the hash with "GC" or a branch name with "GB" - so this would need a special check.
I can take a crack at doing a PR for this if that would be helpful?
The text was updated successfully, but these errors were encountered:
Would be nice to have support for URL links when hosting code on Azure DevOps
They are of the form:
https://dev.azure.com/ORG/TEAM/_git/REPO?path={path}&version={commit}&line={line_low}&lineEnd={line_high}&lineStartColumn=1&lineEndColumn=1&lineStyle=plain
The
{line}
one is easy:https://dev.azure.com/ORG/TEAM/_git/REPO?path={path}&version={commit}{line}&lineStartColumn=1&lineEndColumn=1&lineStyle=plain
withLineRangeFormatting("&line=", "&lineEnd=")
The commit is a bit harder... ADO annoyingly prefixes the hash with "GC" or a branch name with "GB" - so this would need a special check.
I can take a crack at doing a PR for this if that would be helpful?
The text was updated successfully, but these errors were encountered: