Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--editors/code/src/commands.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index 245557b1e8..5e60251060 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -950,7 +950,7 @@ export function openDocs(ctx: CtxInit): Cmd {
const doclink = await client.sendRequest(ra.openDocs, { position, textDocument });
if (doclink != null) {
- await vscode.commands.executeCommand("vscode.open", vscode.Uri.parse(doclink));
+ await vscode.env.openExternal(vscode.Uri.parse(doclink));
}
};
}