Closed maartenba closed 5 years ago
Guys, I just want to let you know that the API itself is not that bad but the documentation is definitely lacking - especially the examples part. I had to figure out a lot without any actual docs or examples how to do the most primitive actions - such as implementing a quick fix to extract a const (into the class) for a string value (which could be a regular C# string, a verbal string, an interpolated string, or even both). Turns out it is quite complicated and I did it quicker with Roslyn as there are more examples and overall API (especially for modification) was a bit more intuitive. But I needed to do this with ReSharper and it took several frustrating hours of poor attemps (which was even more painful considering the poor VS2017+ReSharper plugin debug build deployment and debugging experience).
More examples will definitely help with ReSharper extensions development. Alas, Unity ReSharper plugin is a very bloated repository which just added more confusion into my thinking though it was useful for some cases.
I also wish to see all the missing docs topics written.
The plugin template contains a few examples. Otherwise, as in the blog post described, we would like to encourage people to ask directly, if they have issues.
From https://blog.jetbrains.com/dotnet/2019/02/14/writing-plugins-resharper-rider/#comment-547740: