mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 16:58:55 -05:00
Fix opening Continue On option documentation links (#167435)
This commit is contained in:
@@ -842,8 +842,8 @@ export class EditSessionsContribution extends Disposable implements IWorkbenchCo
|
||||
quickPick.show();
|
||||
|
||||
quickPick.onDidTriggerItemButton(async (e) => {
|
||||
if (e.item.description !== undefined) {
|
||||
const uri = URI.isUri(e.item.description) ? URI.parse(e.item.description) : await this.commandService.executeCommand(e.item.description);
|
||||
if (e.item.documentation !== undefined) {
|
||||
const uri = URI.isUri(e.item.documentation) ? URI.parse(e.item.documentation) : await this.commandService.executeCommand(e.item.documentation);
|
||||
void this.openerService.open(uri, { openExternal: true });
|
||||
}
|
||||
});
|
||||
@@ -910,7 +910,7 @@ class ContinueEditSessionItem implements IQuickPickItem {
|
||||
public readonly command: string,
|
||||
public readonly description?: string,
|
||||
public readonly when?: ContextKeyExpression,
|
||||
documentation?: string,
|
||||
public readonly documentation?: string,
|
||||
) {
|
||||
if (documentation !== undefined) {
|
||||
this.buttons = [{
|
||||
|
||||
Reference in New Issue
Block a user