MacOS – OSX keyboard shortcut for pushing button with underlined character

keyboardmacosshortcut

Is it possible on OSX to push buttons that have an underlined character? In Windows you can hold in ALT and push the key that is underlined on the button.

Example:
enter image description here

On Windwos I can hit the "Replace"-button by hitting ALT+p, the "Replace all"-button by hitting ALT+a, etc.

How can I achieve this on a mac?

Best Answer

On my Macbook Pro with external keyboard and PHPStorm workd CTRL+ALT+P. But, before try this shortcut, you need remove from phpstorm internal shortcuts.