1password has hijacked the global keyboard shortcut ctrl + # and it can't be changed
After today's update, whenever I try to (un)comment a line of code using the shortcut ctrl + #
in VSCode, 1password pops up. The shortcut is not defined in the settings, it must have been introduced somewhere in the background without an option to change it.
When I quit 1password, the shortcut works as expected.
1Password Version: 8.7.0
Extension Version: Not Provided
OS Version: Windows 10
Comments
-
Hi Jack!
Yes, I'm using German keyboard layout.
0 -
Hi @humadia,
Quick follow up. Very recently we released Universal Autofill on the Mac. Which uses the Mac's equivalent
ctrl + \
orctrl + #
(depending on your keyboard layout). Because of this new feature and our hope to eventually bring it to Windows we needed to shuffle the shortcuts a bit. The issue is that currently 1Password struggles with displaying the correct character automatically when using a non-US keyboard layout. We are tracking this internally and are working to solve it. For now though, can you follow these steps to get the correct shortcuts shown and assigned for 1Password. Here's what to do:- Open & unlock 1Password.
- Click the three dots in the upper left corner of 1Password
- Click Settings.
- Re-assign all shortcuts you see (or you can click the x to remove the shortcut entirely).
Once you have done that the correct shortcuts for your layout will be displayed and VS Code and 1Password should work better together.
ref: dev/core/core#15174
0 -
Thanks, that worked!
It would appear that the culprit was the "Fill in Browser" shortcut, which was shown as
ctrl + \
. Reassigning the "Show 1Password" shortcut did not resolve the issue.Maybe it has something to do with the fact that VS Code displays certain files, such as .ipynb, as a browser.
0