We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6793e16 commit 82ead6fCopy full SHA for 82ead6f
src/commands/compile.ts
@@ -337,6 +337,15 @@ export async function namespaceCompile(askFlags = false): Promise<any> {
337
if (!config("conn").active) {
338
throw new Error(`No Active Connection`);
339
}
340
+ const confirm = await vscode.window.showWarningMessage(
341
+ `Compiling all files in namespace '${api.ns}' is expensive! Are you sure you want to proceed?`,
342
+ "Cancel",
343
+ "Confirm"
344
+ );
345
+ if (confirm !== "Confirm") {
346
+ // Don't compile without confirmation
347
+ return;
348
+ }
349
const defaultFlags = config().compileFlags;
350
const flags = askFlags ? await compileFlags() : defaultFlags;
351
if (flags === undefined) {
0 commit comments