Signing back into the Community for the first time? You'll need to reset your password to access your account.  Find out more.

Forum Discussion

humadia's avatar
humadia
New Contributor
3 years ago

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

  • humadia's avatar
    humadia
    New Contributor

    Hi Jack!

    Yes, I'm using German keyboard layout.

  • PeterG_1P's avatar
    PeterG_1P
    Icon for 1Password Team rank1Password Team

    Hello humadia, thank you for informing us of this. We have passed the report on to our developers so they can look into it. We appreciate you letting us know that you encountered the issue!

    ref: dev/core/core#12864

  • Joshua_ag's avatar
    Joshua_ag
    Icon for 1Password Team rank1Password Team

    Hi humadia,

    Quick follow up. Very recently we released Universal Autofill on the Mac. Which uses the Mac's equivalent ctrl + \ or ctrl + # (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:

    1. Open & unlock 1Password.
    2. Click the three dots in the upper left corner of 1Password
    3. Click Settings.
    4. 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

  • humadia's avatar
    humadia
    New Contributor

    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.