Search code examples
unity-game-enginerider

How to assign shortcut to play button when using Rider with Unity?


Using Rider, I can debug my unity project but sometimes, I just want to run the project without debugging it. Is there any way to bind a shortcut to the play button (Play/Edit).

How could I do that with last version of Rider?


Solution

  • As you already know this is done using this button

    enter image description here

    And yes, you can assign a shortcut for that button!

    • Open the FileSettings (CTRL + ALT + S)

    • Go to KeymapPlugins

      enter image description here

    • Scroll down to Unity Support and find the Play/Edit button

      enter image description here

    • Right click and select Add Keyboard Shortcut

      enter image description here

    • Add whatever appealing yet unused shortcut is availble (good luck finding one :P)

      enter image description here

    • Hit Ok and Save → Happy ;)

      enter image description here