From 560b63e4208212e5af23f6c93309e43f646232e8 Mon Sep 17 00:00:00 2001 From: Stephen M Moraco Date: Sun, 14 Apr 2024 17:52:02 -0600 Subject: [PATCH] adjust keys used on Windows platforms - update release notes --- spin2/CHANGELOG.md | 4 ++++ spin2/package.json | 12 ++++++++---- spin2/scripts/LIVE-package.json | 12 ++++++++---- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/spin2/CHANGELOG.md b/spin2/CHANGELOG.md index 4e7ef24..90d685b 100644 --- a/spin2/CHANGELOG.md +++ b/spin2/CHANGELOG.md @@ -26,6 +26,10 @@ Update P2 Only - BUGFIX: Semantic: repair handling of {Spin2_v??} built-in method name support - BUGFIX: File access issues on Windows (11?) repaired - Cleaned up the code-fold detection... now handling ORG* forms better +- Adjusted report key-chords for windows: + - Ctrl+Win+r - Generate Object Hierarchy Report + - Ctrl+Win+d - Generate OBject Public Interface Report + - Ctrl+Win+c - (When cursor on PUB or PRI line) Insert Doc comment below the PUB or PRI line ## [2.2.15] 2024-04-09 diff --git a/spin2/package.json b/spin2/package.json index 931674b..bb55d2b 100644 --- a/spin2/package.json +++ b/spin2/package.json @@ -493,17 +493,20 @@ ], "keybindings": [ { - "key": "Ctrl+Alt+r", + "key": "Ctrl+Win+r", + "mac": "Ctrl+Alt+r", "command": "spinExtension.generate.hierarchy.file", "when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && !editorTabMovesFocus && (editorLangId == spin || editorLangId == spin2)" }, { - "key": "Ctrl+Alt+d", + "key": "Ctrl+Win+d", + "mac": "Ctrl+Alt+d", "command": "spinExtension.generate.documentation.file", "when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && !editorTabMovesFocus && (editorLangId == spin || editorLangId == spin2)" }, { - "key": "Ctrl+Alt+c", + "key": "Ctrl+Win+c", + "mac": "Ctrl+Alt+c", "command": "spinExtension.generate.doc.comment", "when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && !editorTabMovesFocus && (editorLangId == spin || editorLangId == spin2)" }, @@ -518,7 +521,8 @@ "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus && (editorLangId == spin || editorLangId == spin2) && runtime.spinExtension.elasticTabstops.enable == true" }, { - "key": "Ctrl+Alt+tab", + "key": "Ctrl+Win+tab", + "mac": "Ctrl+Alt+tab", "command": "spinExtension.elasticTabstops.generate.tabStops.comment", "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus && (editorLangId == spin || editorLangId == spin2) && runtime.spinExtension.elasticTabstops.enable == true" }, diff --git a/spin2/scripts/LIVE-package.json b/spin2/scripts/LIVE-package.json index 931674b..bb55d2b 100644 --- a/spin2/scripts/LIVE-package.json +++ b/spin2/scripts/LIVE-package.json @@ -493,17 +493,20 @@ ], "keybindings": [ { - "key": "Ctrl+Alt+r", + "key": "Ctrl+Win+r", + "mac": "Ctrl+Alt+r", "command": "spinExtension.generate.hierarchy.file", "when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && !editorTabMovesFocus && (editorLangId == spin || editorLangId == spin2)" }, { - "key": "Ctrl+Alt+d", + "key": "Ctrl+Win+d", + "mac": "Ctrl+Alt+d", "command": "spinExtension.generate.documentation.file", "when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && !editorTabMovesFocus && (editorLangId == spin || editorLangId == spin2)" }, { - "key": "Ctrl+Alt+c", + "key": "Ctrl+Win+c", + "mac": "Ctrl+Alt+c", "command": "spinExtension.generate.doc.comment", "when": "editorTextFocus && !editorReadonly && !suggestWidgetVisible && !editorTabMovesFocus && (editorLangId == spin || editorLangId == spin2)" }, @@ -518,7 +521,8 @@ "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus && (editorLangId == spin || editorLangId == spin2) && runtime.spinExtension.elasticTabstops.enable == true" }, { - "key": "Ctrl+Alt+tab", + "key": "Ctrl+Win+tab", + "mac": "Ctrl+Alt+tab", "command": "spinExtension.elasticTabstops.generate.tabStops.comment", "when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus && (editorLangId == spin || editorLangId == spin2) && runtime.spinExtension.elasticTabstops.enable == true" },