Extensions add extra functionality such as additional context actions, code analyses, support for programming languages, etc. To simplify the process of installing, updating and uninstalling different extensions, ReSharper provides a manager that does all annoying and routine operations for you automatically. You can browse all available extensions and install them just with one click.
To install an extension
- In the main menu, choose .
- In the Extension Manager dialog that opens, check out available extensions.
- Click Install next to the extension you want to add, and then click Install at the bottom of the dialog.
You can get extensions not only from our gallery, but also personal or company-wide extensions, which can be located anywhere. As soon as you add the new source, you can install extensions from this source and there is no difference whether it is local or remote. So if you have a set of extensions developed in your company, there is a need to distribute them publicly.
To add a source to the list of package sources
- Open the page of ReSharper options.
- Click Add .
- In the Add Package Source dialog that appears, specify a display name for the new source and a local or remote file system path or a custom NuGet feed.
- Click OK to add a new item to the list of package sources.
- Click Save to apply the modifications and let ReSharper choose where to save them, or save the modifications to a specific settings layer using the Save To drop-down list. For more information, see managing and sharing resharper settings.
You already know how to work with Extension Manager, now it's time to speak about extensions themselves. There are different kinds of extensions. Some of them enlarge the set of ReSharper features, the others include sets of code snippets and/or SSR patterns.
Let's take ReSpeller. It is a really nice extension that helps you spot spelling errors. If a typo is detected, it is highlighted and you are prompted to choose the proper action.
Another useful extension isxUnit.net Test Support. If you are interested in xUnit.net tests, and want to find an easy way to run them, this extension is definitely for you.
One more chance to speed up code writing is to install Mnemonic Live Templates extension. You type an abbreviation, press Tab and the corresponding template expands immediately. All available abbreviations are listed in the Template Explorer window.
As you can easily guess, there are much more extensions than the three mentioned above, and the number of them is constantly growing. Have a look at our gallery and give them a try.