Search code examples
intellij-ideawebstormjetbrains-ide

Any JetBrains IDE: How can I map Ctrl + Mouse Wheel to Page Up / Down actions?


Or more generic, how do I map mouse shortcuts (as opposed to keyboard shortcuts)?

(used to this behavior from Eclipse)


Solution

  • I do not see any issues here, at all (at very least for the Ctrl + Mouse Wheel shortcuts).

    Screenshots are from PhpStorm 2020.3.2 on Windows 10 x64.

    1. Settings/Preferences | Keymap

    2. Find the desired action (use the search box to filter available actions)

      enter image description here

    3. Right click and choose the right option (Add Mouse Shortcut):

      enter image description here

    4. Use the desired "mouse shortcut" there (press and hold Ctrl and do Mouse Wheel Up):

      enter image description here

    5. Apply and start using it:

      enter image description here