Skip to content

Ctrl+click into a relative filepath results in error #146853

Open

Description

  1. Go to https://github.dev/microsoft/vscode/blob/ff7237ac1915950ea116b6f4d389f2575b3f0819/src/vs/workbench/api/browser/mainThreadSecretState.ts#L10
  2. Ctrl+click on the relative filepath on L10: '../common/extHost.protocol'
  3. 🐛 file fails to open with the following error
    image

I repro this in v0.20.0 of GitHub Repositories so I don't think this is a regression.

VS Code appears to be trying to stat the vscode-vfs URI for this file, but the authority is missing, and Remote Repositories looks up the provider for a given vscode-vfs URI by checking the authority, so this is an invalid vscode-vfs URI. @bpasero do you happen to know what might be happening here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

bugIssue identified by VS Code Team member as probable buggithub-repositoriesIssues related to GitHub RepositoriesjavascriptJavaScript support issuestypescriptTypescript support issueswebIssues related to running VSCode in the web

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions