In most Windows applications, I am able to replicate the right mouse button click using the combo Shift + F10. Shift + F10 is mapped as a shortcut to debug my current file in PHPStorm. I've looked around the mapping section in settings but wasn't able to find a way to restore this combo so that it mimics a right mouse click. Is this possible in PHPStorm?
Clicking with mouse keys Press the divide ÷ or / key then the 5 key to left-click or the minus or - key then the 5 key to right-click. Press the plus or + key then 5 to double-click.
On the Keymap page of the Settings/Preferences dialog Ctrl+Alt+S , right-click an action and select Add Keyboard Shortcut. In the Keyboard Shortcut dialog, press the necessary key combination.
Go to File -> Settings -> Keymap. Search for "Show Context Menu" Add a new keyboard shortcut. When prompted, press the "right click" (aka "context menu") key.
CTRL + J : Navigate – Go To Implementations. CTRL + K : 3 things here: View Recent Files + Toggle Changed Only Files + Iterate Recent Files. CTRL + L : Navigate – Go To Declaration or Usages. ALT + H : Editor Actions – Left. ALT + J : Editor Actions – Down.
The action you need is called Show Context Menu and located under Other branch in Settings | Keymap
P.S.
Screenshot above shows Shift+F10 shortcut already assigned to it.
P.P.S.
It is for v6, but I assume it will work in v5 as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With