Global shortcut for actions (modal dialogs, popups, etc)

Is it possible to set global shortcuts for actions that will get triggered even when invoked in the context of other modal dialogs generically? I just tried out something quick and didn't see that happening.

 Thanks

 

2 comments

I just noted that the action triggers from some dialogs (Local file revision for one). It doesn't work for Settings though.

 

 

0

You can enable action in modal dialogs using "AnAction.setEnabledInModalContext(true)".

0

Please sign in to leave a comment.