The ReSharper API

ReSharper provides Open API, which is the same API that has been used to create all the features of ReSharper.

Note

As we would like to introduce you to only some basic concepts related to creating plugins in this book, we will quickly describe only the most important ones.

From an architectural point of view, the ReSharper API is divided into the following three layers:

  • Platform
  • Program Structure Interface (PSI)
  • Features

When you are working on a plugin project, you can easily find the related assemblies based on their names, which are as follows:

  • JetBrains.Platform.ReSharper.*
  • JetBrains.ReSharper.Psi.*
  • JetBrains.ReSharper.Features.* and JetBrains.ReSharper.Feature.Services.*

The hierarchy of these levels is presented in the following ...

Get ReSharper Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.