diff --git a/src/vs/workbench/parts/search/browser/openSymbolHandler.ts b/src/vs/workbench/parts/search/browser/openSymbolHandler.ts index 6f504eb2685436619c0382a3c4b81b5109f27bbf..db2517c26140a0e31bcf659971b000c2e7469cde 100644 --- a/src/vs/workbench/parts/search/browser/openSymbolHandler.ts +++ b/src/vs/workbench/parts/search/browser/openSymbolHandler.ts @@ -85,7 +85,9 @@ class SymbolEntry extends EditorQuickOpenEntry { TPromise.as(this.bearingResolve).then(() => { const scheme = this.bearing.location.uri ? this.bearing.location.uri.scheme : void 0; if (scheme === Schemas.http || scheme === Schemas.https) { - this.openerService.open(this.bearing.location.uri); // support http/https resources (https://github.com/Microsoft/vscode/issues/58924)) + if (mode === Mode.OPEN || mode === Mode.OPEN_IN_BACKGROUND) { + this.openerService.open(this.bearing.location.uri); // support http/https resources (https://github.com/Microsoft/vscode/issues/58924)) + } } else { super.run(mode, context); }