A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.jetbrains.com/help/resharper/sdk/creating_plugin.html below:

Creating A Plugin | ReSharper Platform SDK Documentation

Creating A Plugin

Creating new ReSharper and Rider plugin projects is performed using the dedicated dotnet new template. The generator creates all the necessary project files based on a few template inputs.

Create ReSharper & Rider Plugins

Launch the New Project wizard via the action and provide the following information:

  1. Download the plugin template from the GitHub Release page.

  2. Install the plugin template by calling:

dotnet new --install JetBrains.ReSharper.SamplePlugin.*.nupkg

  1. Unpack the template with your preferred plugin name:

dotnet new resharper-rider-plugin --name MyPlugin

If your plugin should only target ReSharper, you can pass the --resharper-only switch.

If you plan to use GitHub Actions as your continuous integration/deployment (CI/CD) environment, you can pass the --github-actions switch.

    Template-Generated Files

    When extracting the template, for instance with --name MyPlugin, it will create the following directory content:

    MyPlugin ├── .github │ └── wrapper │ ├── CI.yml │ └── Deploy.yml ├── .run │ ├── rdgen (Unix).run.xml │ ├── rdgen (Windows).run.xml │ ├── rdgen.run.xml │ ├── Rider (Unix).run.xml │ ├── Rider (Windows).run.xml │ ├── Rider - Frontend (Unix).run.xml │ ├── Rider - Frontend (Windows).run.xml │ ├── Rider.run.xml │ └── VisualStudio.run.xml ├── gradle │ └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── protocol │ ├── src/main/kotlin/model/rider │ └── build.gradle ├── src │ ├── dotnet │ │ ├── ReSharperPlugin.MyPlugin │ │ │ ├── IMyPluginZone.cs │ │ │ ├── ReSharperPlugin.MyPlugin.csproj │ │ │ └── ReSharperPlugin.MyPlugin.Rider.csproj │ │ ├── ReSharperPlugin.MyPlugin.Tests │ │ │ ├── ReSharperPlugin.MyPlugin.Tests.csproj │ │ │ ├── TestEnvironment.cs │ │ │ └── test │ │ │ └── data │ │ │ └── nuget.config │ │ ├── Directory.Build.props │ │ └── Plugin.props │ └── rider/main │ ├── kotlin/com/jetbrains/rider/plugins/myplugin │ └── resources │ └── META-INF │ └── plugin.xml ├── tools │ ├── nuget.exe │ └── vswhere.exe ├── .gitattributes ├── .gitignore ├── CHANGELOG.md ├── README.md ├── ReSharperPlugin.MyPlugin.sln ├── build.gradle ├── buildPlugin.ps1 ├── gradle.properties ├── gradlew ├── gradlew.bat ├── publishPlugin.ps1 ├── runVisualStudio.ps1 ├── settings.gradle └── settings.ps1

    See the IntelliJ SDK help for more information about Gradle-Related Plugin Components.

    Last modified: 04 July 2023


    RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4