Plugin to extend R# functionality by set of custom actions.
Quick action to copy full class/interface name (including assembly name) to clipboard.
Extend solution, project and directory context menu with additional action to perform cleanup on modified files only. Action uses git to get list of the modified files. All the dirty files (indexed and non-indexed) are included. If you select project or directory (or multiple ones simultaneously), list of files to cleanup is limited to the appropriate scope.
Now you can use [assembly: SuppressMessage("ReSharper", "id")]
attribute to suppress inspection warnings on project level. It might be useful for the test projects where not all inspections are relevant.
Note, you might need to reload solution and re-analyze files to apply changes.
Quick action for method argument to insert assertion statement. Allows to assert all nullable argument using Assert all
action.
If annotation attributes are available and relevalt for argument, they are arranged.
Quick actions to add/remove Pure
annotation attribute.
Quick actions to chop method arguments or make them one line (remove all line breaks). Useful to format method signatures with large number of parameters (e.g. in tests).
Quick actions to add/remove [Frozen]
or [Greedy]
attributes for AutoFixture xunit integration. Allows to specify match criteria for the [Frozen(Matching.XXX)]
attribute.
Quick action to go to corresponding test file or create it. Usually, test project name is detected automatically, but could be configured in plugin settings (in R# options dialog).
To specify individual test project for your projects, specify [assembly: AssemblyMetadata("ReSharperHelpers.TestProject", "TEST_PROJECT_NAME")]
attribute. Define attribute conditionaly (e.g. #if DEBUG .... #endif
) if you want to omit attributes in release assembly. Note, if condition is not satisfied, attribute might be not detected by plugin.
When bulb menu is opened (e.g. after you press Alt+Enter
), you can use Ctrl
+ Up/Down
to navigate to next section. Useful if quick actions menu becomes really large.
If section is very large, it jumps to the middle of the section before jumping to the next/previous one.
Custom R# Build Configuration that builds solution and runs it. The difference comparing to the "VS Startup" (default) configuration is that the default one builds the startup project (with all dependencies) rather than a solution. If you have projects which you want to be always built, they might be skipped if your startup project doesn't depend on them.
This configuration might be useful when you develop a custom plugin that depends on the startup project. You might want the plugin to be always built and copied to the startup project output directory. In this scenario you can:
- Mark the plugin project as "Build always".
- Create and activate the "Launch Solution" build configuration in the
Build & Run
window.
Pre-release builds (develop branch) are published to custom nuget feed. If you want to use pre-release builds, add the following extension source to ReSharper: https://www.myget.org/F/alexpovar-resharperhelpers-prerelease/api/v2
.