mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
[remote] Allow to open remote files through vscode://vscode-remote/. Fixes #108257
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user