0

I want to open the Keymap window directly in PhpStorm using a keyboard shortcut, without going through Settings > Keymap or without using the quick action menu.

I know this is possible because the Promoter X plugin does exactly that: it opens the Keymap as a window when needed, bypassing the normal settings navigation.

Is there a built-in way to assign a shortcut for this?

4
  • 1
    1) Promote X or any other plugin (or a user via "Find Action" etc), they are calling the Keymap settings screen directly, using the IDE internals. There is no action to do that from the "outside" (user land). You can write your own plugin where you create such a dedicated action, and then you can assign a custom shortcut to it. Commented Jun 16 at 9:58
  • 1
    2) Possible solution (in theory): use "Edit | Macros" where you access that settings screen (e.g. via "Find Action" mechanics: call it, type keymap, select the right one. Once saved and confirmed that it works as it should (gets you to the right destination from different setups -- in case in some scenarios it may need one less or one more key press, which will make it fail) -- you can then assign dedicated shortcut for that macros in the Keymap. Commented Jun 16 at 10:02
  • 1
    3) Another relatively quick solution, is to try "View | Quick Switch Scheme..." (Ctrl+` here on my PC). Not a single keypress, but quite consistent and quick. try it, at least. Commented Jun 16 at 10:04
  • 4) Another possible solution is to use IDE scripting console, but I personally have never used it as it requires knowing Groovy and IDE internals. Anyway: 1) jetbrains.com/help/phpstorm/ide-scripting-console.html 2) jetbrains.com/help/idea/ide-scripting-console.html Commented Jun 16 at 10:09

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.