mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Use canonical URIs for tab IDs (#162661)
This commit is contained in:
@@ -194,7 +194,7 @@ export class MainThreadEditorTabs implements MainThreadEditorTabsShape {
|
||||
private _generateTabId(editor: EditorInput, groupId: number) {
|
||||
let resourceString: string | undefined;
|
||||
// Properly get the resource and account for side by side editors
|
||||
const resource = EditorResourceAccessor.getOriginalUri(editor, { supportSideBySide: SideBySideEditor.BOTH });
|
||||
const resource = EditorResourceAccessor.getCanonicalUri(editor, { supportSideBySide: SideBySideEditor.BOTH });
|
||||
if (resource instanceof URI) {
|
||||
resourceString = resource.toString();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user