Skip to content

Commit

Permalink
Revert "Disable option to open new project in current window (wpilibs…
Browse files Browse the repository at this point in the history
…uite#560)" (wpilibsuite#603)

This works again in VS Code 1.81.1

This reverts commit 00727ad.
  • Loading branch information
wpineth committed Mar 29, 2024
1 parent 818a441 commit a151950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode-wpilib/src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export async function promptForProjectOpen(toFolder: vscode.Uri): Promise<boolea
const openSelection = await vscode.window.showInformationMessage(i18n('message',
'Project successfully created. Would you like to open the folder?'), {
modal: true,
}, /*i18n('ui', 'Yes (Current Window)'), */ i18n('ui', 'Yes (New Window)'), i18n('ui', 'No'));
}, i18n('ui', 'Yes (Current Window)'), i18n('ui', 'Yes (New Window)'), i18n('ui', 'No'));
if (openSelection === undefined) {
return true;
} else if (openSelection === i18n('ui', 'Yes (Current Window)')) {
Expand Down

0 comments on commit a151950

Please sign in to comment.