Note: Please don't file an issue to ask a question. You'll get faster results by using the resources below.
Please sign the CLA before sending the PR: https://www.jetbrains.com/agreements/cla/.
This plugin has same architecture as Rider itself. Out-of-process ReSharper serves as backend, IntelliJ IDEA serves as frontend. Unity Editor Plugin passes data and requests between Rider backend and Unity. Communication between all three is defined in 2 models:
- rider/protocol/src/main/kotlin/model/editorPlugin
- rider/protocol/src/main/kotlin/model/rider/
-
Check out main branch
-
Run
build.sh
orbuild.ps1
(depending on your OS).SDK will be downloaded, packages restored, etc. and everything should compile without errors.
-
In Intellij IDEA open "rider" folder
Give it some time to run gradle scripts
-
(Optional) Edit both backend and UnityEditor plugin via resharper/src/resharper-unity.sln
-
In the Gradle toolwindow find and run "runIDE" task. It starts an experimental instance of Rider with locally compiled plugin.