[extension] Save on run and submit

This commit is contained in:
orosmatthew 2023-05-09 17:23:11 -04:00
parent 8564dd26ec
commit 6261ee0bde

View File

@ -86,6 +86,7 @@ export class BWPanel {
webview.onDidReceiveMessage(async (data) => {
switch (data.type) {
case 'onSubmit': {
await vscode.workspace.saveAll();
if (!data.value) {
return;
}
@ -112,6 +113,7 @@ export class BWPanel {
break;
}
case 'onRun': {
await vscode.workspace.saveAll();
if (!data.value) {
return;
}