From c723958a715a4103e2f0e39600be526b244ad168 Mon Sep 17 00:00:00 2001 From: Stefan Wehr Date: Sun, 1 Dec 2024 17:48:39 +0100 Subject: [PATCH 1/2] changelog and version bump for 1.3.0 --- ChangeLog.md | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 0fb7c6fe..c2ecf21c 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,7 +1,11 @@ # Write Your Python Program - CHANGELOG -* ? (?) +* 1.3.0 (2024-12-01) * Fix bug with union of unions + * Improve scrolling #148 + * Improve highlighting of current line #155 + * Improve rendering of classes and functions #154 + * Several other bugfixes * 1.2.1 (2024-11-05) * Fix assets for visualization * 1.2.0 (2024-11-04) diff --git a/package.json b/package.json index 4d6d1bd6..39112370 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Write Your Python Program!", "description": "A user friendly python environment for beginners", "license": "See license in LICENSE", - "version": "1.2.1", + "version": "1.3.0", "publisher": "StefanWehr", "icon": "icon.png", "engines": { From 344b45e1a6c0639211ccc53a8cded2ee77fb5dca Mon Sep 17 00:00:00 2001 From: Stefan Wehr Date: Thu, 5 Dec 2024 15:32:47 +0100 Subject: [PATCH 2/2] wait for save before continuing --- src/programflow-visualization/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/programflow-visualization/main.ts b/src/programflow-visualization/main.ts index 64c18d65..87fbac1e 100644 --- a/src/programflow-visualization/main.ts +++ b/src/programflow-visualization/main.ts @@ -19,7 +19,7 @@ export function getProgFlowVizCallback(context: vscode.ExtensionContext, outChan vscode.window.showWarningMessage('Not a Python file'); return; } - vscode.window.activeTextEditor?.document.save(); + await vscode.window.activeTextEditor?.document.save(); const content = await FileHandler.getContentOf(file); const fileHash = Md5.hashStr(content);