Skip to content

[BUG] "Copy File Link" for Azure DevOps repo does not correctly cover the selected text #616

Open
@AidenFuller

Description

@AidenFuller

Describe the bug
When copying a file link for a file whose remote repo is in Azure DevOps, adds line, lineStartColumn and lineEndColumn into the URL, but the selected text is not respected, only the position of the cursor, and it also creates a link which highlights the entire line.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a project whose repository is managed in Azure DevOps
  2. Select any of the following
    a. A subset of characters on a single line
    b. Characters spanning multiple lines
  3. Copy File Link (GitToolBox action)
  4. Paste the link in the browser and notice that the highlighted text does not align to the selection in the IDE

Expected behavior
The same exact block of text that I select should be highlighted when opening the link in Azure DevOps

Plugin version
600.1.2+243

IDE version
JetBrains Rider 2025.1.2
Build #RD-251.25410.119, built on May 7, 2025
Windows 11.0

Screenshots
Unfortunately cannot provide due to company sensitivity and not having access to an Azure DevOps repo myself

Suggestion
The lineStartColumn and lineEndColumn should align to the selection, as well as line and lineEnd indicating the start and end lines.

Metadata

Metadata

Assignees

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions