Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Extension/src/Debugger/configurationProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,11 @@

private showErrorIfClNotAvailable(_configurationLabel: string): boolean {
if (!process.env.DevEnvDir || process.env.DevEnvDir.length === 0) {
void vscode.window.showErrorMessage(localize("cl.exe.not.available", "{0} build and debug is only usable when VS Code is run from the Developer Command Prompt for VS.", "cl.exe"));
void vscode.window.showErrorMessage(localize({
key: "cl.exe.not.available",
comment: ["{0} is a command option in a menu. {1} is the product name \"Developer Command Prompt for VS\"."]
},
"{0} is only usable when VS Code is run from the {1}.", `cl.exe ${this.buildAndDebugActiveFileStr()}`, "Developer Command Prompt for VS"));

Check warning on line 591 in Extension/src/Debugger/configurationProvider.ts

View workflow job for this annotation

GitHub Actions / job / build

Expected indentation of 12 spaces but found 16

Check failure on line 591 in Extension/src/Debugger/configurationProvider.ts

View workflow job for this annotation

GitHub Actions / job / build

Expected indentation of 12 spaces but found 16

Check warning on line 591 in Extension/src/Debugger/configurationProvider.ts

View workflow job for this annotation

GitHub Actions / job / build

Expected indentation of 12 spaces but found 16

Check failure on line 591 in Extension/src/Debugger/configurationProvider.ts

View workflow job for this annotation

GitHub Actions / job / build

Expected indentation of 12 spaces but found 16

Check warning on line 591 in Extension/src/Debugger/configurationProvider.ts

View workflow job for this annotation

GitHub Actions / job / build

Expected indentation of 12 spaces but found 16

Check failure on line 591 in Extension/src/Debugger/configurationProvider.ts

View workflow job for this annotation

GitHub Actions / job / build

Expected indentation of 12 spaces but found 16
return true;
}
return false;
Expand Down
Loading