If you are looking to enable the “Rider” option from the “Source Code Editor” in the Editor Preferences, I found out by looking at the source code released there https://github.com/JetBrains/RiderSourceCodeAccess, that it is first looking at the Jetbrains Toolbox installation location (in the registry), and then if it doesn’t find it there, it will look at Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ for a key (folder) called “Rider”. In there, you should have a string called “InstallLocation” that has the base Rider path (e.g. C:\Rider). You can also add another string key called “DisplayVersion” which will determine the text displayed in the dropdown, so for example if you put 2020.2.2, you will see "Rider 2020.2.2 (installed) as a choice in the Source Code Editor option.
In order for all of that to work, I had to download the source code for RiderSourceCodeAccess on GitHub and follow the instructions to compile the plugin.
- You need to unzip the content into one of your UE4 projects folder, here: {UnrealProjectRoot}/Plugins/Developer/RiderSourceCodeAccess
- Then you regenerate the solution file from the uProject.
- Then you open the solution using Rider and you start the project, which will compile the plugin.
- Then in the UE4 Editor, there should be a plugin called “Rider Integration”, which is hidden at the very bottom of the list, under Project/programming.
- Make sure the Rider Integration plugin is enabled.
- Once it’s enabled and the editor has been restarted, you should now see the Rider (installed) option for the Source Code Editor in the Editor Preferences window.