Skip to content

Commit c6ae912

Browse files
committed
Try omitting workbench.files.action.refreshFilesExplorer at end of checkConnection
1 parent 225df76 commit c6ae912

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/extension.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -421,12 +421,6 @@ export async function checkConnection(clearCookies = false, uri?: vscode.Uri): P
421421
setTimeout(() => {
422422
explorerProvider.refresh();
423423
projectsExplorerProvider.refresh();
424-
// Refreshing Files Explorer also switches to it, so only do this if the uri is part of the workspace,
425-
// otherwise files opened from ObjectScript Explorer (objectscript:// or isfs:// depending on the "objectscript.serverSideEditing" setting)
426-
// will cause an unwanted switch.
427-
if (uri && schemas.includes(uri.scheme) && vscode.workspace.getWorkspaceFolder(uri)) {
428-
vscode.commands.executeCommand("workbench.files.action.refreshFilesExplorer");
429-
}
430424
}, 20);
431425
});
432426
}

0 commit comments

Comments
 (0)