How to get web url of a file from sourcegraph VSCode extension?

598 views Asked by At

I have installed sourcegraph VScode extension and it works well to search code. Often times I need to share the sourcegraph code link with the team.

I am not able to find the ability to access sourcegraph url from the extension.

I search for some text using extension, then open the file and tried "Copy relative path, Copy remote file URL" but all of them gives me file path without the host url.

It's a pretty simple task to append the hostname and file path but it would be much easier if there is quick way to copy the path url.

1

There are 1 answers

0
Rohit On
  1. Search a file through sourcegraph extension
  2. Open file
  3. Click Sourcegraph icon in top right corner. (Open file in Sourcegraph web)

Open file in sourcegraph web