Same as for building the plugin.
To debug the plugin, you'll also need to have
IntelliJ IDEA
and a .NET IDE installed
(Rider is strongly recommended as the latter).
To run Rider plugin, run
cd Frontend
gradlew :prepare
cd ../Backend
dotnet build ForTea.Backend.sln
cd ../Frontent
gradlew :runIde
To debug Rider plugin frontend, run
cd Frontend
gradlew :prepare
cd ../Backend
dotnet build ForTea.Backend.sln
then open Frontend
in IntelliJ IDEA,
open Gradle
window, find runIde
task in ForTea > Tasks > intellij
,
right-click it and select Debug 'Frontend [runIde]'
.
Note: the plugin can also be run this way.
To debug Rider plugin backend,
run Rider plugin, then open Backend/ForTea.Backend.sln
in a .NET IDE
(Rider is strongly recommended),
invoke Attach to process
action and select ReSharperHost
process.
Of course, they can be debugged together.
Same as debugging Rider plugin backend,
except you need to debug the frontend instead of running it.
Run/debug instructions for ReSharper plugin can be found here.