Using Rider for Unreal Engine how to build on save
I'm using Rider to work on an Unreal Engine project and every time I modify the source code I need the click the Build Solution then I thought is there any way to enable building every time I save? or another approach that makes it easier and faster?
I've tried searching online for this option but found no valuable blogs.
Please sign in to leave a comment.
Hello Kazm,
Thank you for contacting Rider support.
You can create a custom action(macros) that consists of two actions: Save All, Build Solution. Then assign a shortcut to that action and use it instead of regular Save. See the following instructions:
Edit | Macros | Start Macro Recording;File | Save All;Build | Build Solution (or Build Current Project);Edit | Macros | Stop Macro Recording;SaveAll&Build;Edit | Macros | Edit Macro. It might be useful to ensure that your macro does not have any extra steps.File | Settings | Keymap;Right Click | Add Keyboard Shortcut. Select Remove(in case a popup appears) to remove this hotkey from the previously assigned action. Also, you can call this action from `Edit | Macros | {your macro};Now with this shortcut, you can call your macro that would save the modified files and invoke the Build.
Hope it helps.
Should you have any other questions or difficulties, please let me know.
Have a nice day!