stkb / Rewrap

Rewrap extension for VSCode and Visual Studio
https://marketplace.visualstudio.com/items/stkb.rewrap
Other
499 stars 58 forks source link

Alt + Q Default Shortcut Not Working #373

Open brokenthorn opened 1 year ago

brokenthorn commented 1 year ago

The default keyboard shortcut of Alt + Q does not work on Windows 11.

The key press does not seem to register. I have tried registering it in the shortcuts editor, and only Q and Alt by themselves register if pressed initially, or chorded later, but a combination with Alt + Q, or A or Z does not seem to register as input.

Also tested online on https://keyboard-test.space/ and Alt + some keys seems to register as a hold down combination, but not when used with Q or A or Z...

I have tried two different keyboards, including my laptop's integrated one.

This might be something with Windows, because if you google for Alt + Q not registering on Windows, you'll find some results.

I switched to Shift + Alt + R, because Shift + Alt + F is used for reformatting the document, and R is close to F on QWERTY keyboards.

Also Shift + Alt + R seems to be registered by default to reveal the selected file in the vscode explorer, in the system file explorer, but only when the vscode explorer is focused.

This effectively opens up a Windows Explorer window with that file navigated to and selected. So, there doesn't seem to be any loss of functionality by assigning this already existing shortcut to Rewrap.

Please consider making the default shortcut Shift + Alt + R,