VSCE: Add ability to open local copy of remote file
Created by: abeatrix
This PR adds the ability to open the local copy of the remote file from search results, as discussed in https://github.com/sourcegraph/sourcegraph/issues/32633
Currently, clicking on the search result will open a read-only file.
After the update in this PR, the user can set a base path for where all the repositories are located in their machine using the VSCE configuration setting.
After that, clicking on the open-file
logo (top-right) in the read-only file would open the local copy of the file which is editable:
If the file does not exist in the configured path, they will receive an error message via native VS Code pop-up:
Test plan
N/A