supersan
supersan

Reputation: 6151

Assign keyboard shortcut to "Edit a watch.." shortcut in PhpStorm

I used to be able to Edit my watches by pressing a keyboard shortcut. Now I have to Right click on the watch variable and Select "Edit..." from the popup (which is not very convenient).

There does appear a "Edit..." in the Keymap (see below) but it appears to do nothing. I've tried many key combinations but pressing the keys won't do anything.

https://i.imgur.com/j4Eu5gO.png

Even in the official documentation there is no mention of keyboard shortcut.

Is there any way to assign a keyboard shortcut to "Edit watch" or is it not supported?

Upvotes: 0

Views: 44

Answers (1)

LazyOne
LazyOne

Reputation: 165353

Use "Search by shortcut" functionality in Settings | Keymap (a button next to search field). On my Keymap (based on "Default") pressing F2 allows me to edit the debugger watch.

From what I see it must be Other | Set Value... action that is responsible for this:

enter image description here

Upvotes: 2

Related Questions