提交 8fbf845f 编写于 作者: A Alex Boyko 提交者: Benjamin Pasero

Open symbol handler for http/https conditional on the mode (#61509)

上级 29c313aa
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册