Skip to content

Can the location in the result object be clickable in web view? #30

@dmsehuang

Description

@dmsehuang

I know when we double click the path in VS Code, the editor will bring us to the exact location of the error. Do we have similar feature in web view?

In my repo, I have a file named urls.md under the docs/docs2 folder and I define the location in the following way:

         "locations": [
            {
              "physicalLocation": {
                "artifactLocation": {
                  "uri": "docs/docs2/urls.md",
                },
                "region": {
                  "startLine": 11,
                  "startColumn": 7
                }
              }
            }
          ]

When I run this in an Azure Pipeline, the path is just not clickable. However, if I replaced the uri property with some an absolute url, such as https://bing.com, it is clickable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions