Skip to content

Commit

Permalink
Add link to extension page in C#-ext-missing error (#3148)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwateratmsft authored Aug 16, 2021
1 parent d0f92cc commit 19b56c5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ export class NetCoreGatherInformationStep extends GatherInformationStep<NetCoreS
} catch (err) {
// Suppress report issue and rethrow
wizardContext.errorHandling.suppressReportIssue = true;
wizardContext.errorHandling.buttons = [
{
title: localize('vscode-docker.scaffold.netCoreGatherInformationStep.openCSharpExt', 'Open Extension'),
callback: async () => vscode.commands.executeCommand('extension.open', cSharpExtensionId),
}
];
throw err;
}

Expand Down

0 comments on commit 19b56c5

Please sign in to comment.