[remote] Allow to open remote files through vscode://vscode-remote/. Fixes #108257

This commit is contained in:
Martin Aeschlimann
2021-04-21 17:05:43 +02:00
parent ce63fe5e18
commit 3fe2d3b543

View File

@@ -916,6 +916,8 @@ export class CodeApplication extends Disposable {
if (hasWorkspaceFileExtension(path)) {
return { workspaceUri: remoteUri };
} else if (/:[\d]+$/.test(path)) { // path with :line:column syntax
return { fileUri: remoteUri };
} else {
return { folderUri: remoteUri };
}