Skip to content

Commit 27753b3

Browse files
authored
fix(amazonq): windows keyboard shortcut for fixCode and generateUnitTests (#7956)
## Problem Keyboard shortcuts for fixCode and generateUnitTests functions are not working on Windows VSC, although they function correctly on Mac The current shortcuts conflict with Windows reserved keyboard combinations. Current Shortcuts (Windows): - fixCode: Windows + Alt + Y - generateUnitTests: Windows + Alt + T New Shortcuts (Windows only): - fixCode: Windows + Alt + H - generateUnitTests: Windows + Alt + N ## Solution This approach results in different letter keys for the same functions across platforms: - generateUnitTests: 'T' on Mac, 'N' on Windows - fixCode: 'Y' on Mac, 'H' on Windows --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 764f30b commit 27753b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/amazonq/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@
925925
},
926926
{
927927
"command": "aws.amazonq.fixCode",
928-
"win": "win+alt+y",
928+
"win": "win+alt+h",
929929
"mac": "cmd+alt+y",
930930
"linux": "meta+alt+y"
931931
},
@@ -943,7 +943,7 @@
943943
},
944944
{
945945
"command": "aws.amazonq.generateUnitTests",
946-
"key": "win+alt+t",
946+
"key": "win+alt+n",
947947
"mac": "cmd+alt+t",
948948
"linux": "meta+alt+t"
949949
},

0 commit comments

Comments
 (0)