You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on some improvements to the search-npm extension that I created. I'd like to assign this keyboard shortcut (⌘ + c) to one of the actions. Whilst I can assign the shortcut and it shows in the action UI (see below), using the keyboard shortcut does not actually work. Are there any known issues using system-wide keyboard shortcuts within an extension action?
Thanks for bringing this up. This shortcut is occupied by regular "copy" action in the search field, so it's expected behavior that it doesn't work. We believe it can be confusing if extensions start overtaking common shortcuts like ⌘+C/V/Z. We might introduce some warning in the console when developer tries to assign it to an action to make it more clear.
I also notice that my search npm extension has a keyboard shortcut that is the same as another I use in Raycast itself (cmd+opt+c) which opens the clipboard history. Do you think it would be possible for keyboard shortcuts (in extensions) to be disabled by users if they conflict like mine do?
Activity
PitNikola commentedon Nov 1, 2021
Thanks for bringing this up. This shortcut is occupied by regular "copy" action in the search field, so it's expected behavior that it doesn't work. We believe it can be confusing if extensions start overtaking common shortcuts like ⌘+C/V/Z. We might introduce some warning in the console when developer tries to assign it to an action to make it more clear.
mrmartineau commentedon Nov 1, 2021
Thanks @PitNikola, I thought as much.
I also notice that my search npm extension has a keyboard shortcut that is the same as another I use in Raycast itself (
cmd+opt+c) which opens the clipboard history. Do you think it would be possible for keyboard shortcuts (in extensions) to be disabled by users if they conflict like mine do?Update/Refactor "search npm" extension (#271)
Update/Refactor "search npm" extension (raycast#271)
Add granite extension (#28899)
Add nyxe extension (#31572)