alexpovar-resharperhelpers-prerelease - AlexPovar.ReSharperHelpers 7.7.0.6

Set of custom actions and tweaks for ReSharper to improve your productivity. Refer to project site for entire feature list.

PM> Install-Package AlexPovar.ReSharperHelpers -Version 7.7.0.6 -Source https://www.myget.org/F/alexpovar-resharperhelpers-prerelease/api/v3/index.json

Copy to clipboard

> nuget.exe install AlexPovar.ReSharperHelpers -Version 7.7.0.6 -Source https://www.myget.org/F/alexpovar-resharperhelpers-prerelease/api/v3/index.json

Copy to clipboard

> dotnet add package AlexPovar.ReSharperHelpers --version 7.7.0.6 --source https://www.myget.org/F/alexpovar-resharperhelpers-prerelease/api/v3/index.json

Copy to clipboard
<PackageReference Include="AlexPovar.ReSharperHelpers" Version="7.7.0.6" />
Copy to clipboard
source https://www.myget.org/F/alexpovar-resharperhelpers-prerelease/api/v3/index.json

nuget AlexPovar.ReSharperHelpers  ~> 7.7.0.6
Copy to clipboard

> choco install AlexPovar.ReSharperHelpers --version 7.7.0.6 --source https://www.myget.org/F/alexpovar-resharperhelpers-prerelease/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "alexpovar-resharperhelpers-prerelease" -SourceLocation "https://www.myget.org/F/alexpovar-resharperhelpers-prerelease/api/v2"
Install-Module -Name "AlexPovar.ReSharperHelpers" -RequiredVersion "7.7.0.6" -Repository "alexpovar-resharperhelpers-prerelease" 
Copy to clipboard

ReSharper Helpers

Plugin to extend R# functionality by set of custom actions.

ReSharper Helpers R# Plugin ReSharper Helpers Rider Plugin Build status

Configuration

Plugin could be configured either using the dedicated settings page (search for "ReSharper Helpers" section) or by .editorconfig file.

💡 It's recommended to use .editorconfig file to store project specific settings.

Editor Config

The following settings are available.

💡 You can put .editorconfig file to a project's folder to configure each project separately.

Tests project name

Name: resharperhelpers_tests_project_name

Format: String name of existing Tests project

Example:

[*.cs]
resharperhelpers_tests_project_name = All.Unit

By default plugin tries to apply heuristics and discover test project name automatically. If however you have an unusual setup, you can use this setting to configure a custom project name.

Notice, this setting affects both existing tests discovery and new tests creation.

Test project sub-namespace

Name: resharperhelpers_tests_project_sub_namespace

Format: Dot-separated list of namespace chunks to prepend to test class name

Example:

[*.cs]
resharperhelpers_tests_project_sub_namespace = Integration.Core

By default it's assumed that both code and test will have the same relative namespace (i.e. excluding default project namespace). This setting allows to customize it by adding extra namespace chunks to test relative namespace when calculating final value. Effectively it allows to nest tests within extra folders.

That could be useful if you have a shared unit tests project and want your projects with code to each have its own root folder.

Notice, this setting affects both existing tests discovery and new tests creation.

New test class name suffix

Name: resharperhelpers_new_test_class_name_suffix

Format: String value

Default: Tests

Example:

[*.cs]
resharperhelpers_new_test_class_name_suffix = Test

Suffix to append to class name when creating a new test (e.g. MyProvider -> MyProviderTests).

Test class name valid suffixes

Name: resharperhelpers_existing_test_class_name_suffixes

Format: Comma separated list of suffixes

Default: Test,Fixture

Example:

[*.cs]
resharperhelpers_existing_test_class_name_suffixes = TestFixture,Validation

A list of test suffixes used to find an existing test. Each suffix will be probed one by one. Setting is useful if you have existing code base and some tests have different suffixes.

New test class name suffix is added implicitly.

Features:

Create test file/Go to test file

Quick action to go to corresponding test file or create it. Usually, test project name is detected automatically, but could be configured (see above).

Cleanup modified file

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.

Navigate to next/prev section in bulb menu

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. Preview

AutoFixture: [Freeze, Greedy] quick actions

Quick actions to add/remove [Frozen] or [Greedy] attributes for AutoFixture xunit integration. Allows to specify match criteria for the [Frozen(Matching.XXX)] attribute.

Copy full class name

Extend "Copy Code Reference" menu with an extra item which contains fully qualified class/struct/interface name (including assembly name). Useful when there is a need to copy type name in a config.

To access the menu put the cursor on class/struct/interface name identifier, hit "Alt+Enter", type "fqn" and hit "Enter". The list will contain an extra entry.

[Pure] annotation

Quick actions to add/remove Pure annotation attribute.

Chop/one line method arguments

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).

Assert parameter is not null/Assert all

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 relevant for argument, they are arranged.

"Launch solution" build configuration

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:

  1. Mark the plugin project as "Build always".
  2. Create and activate the "Launch Solution" build configuration in the Build & Run window.

Pre-release builds

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.

7.7.0

  • Added support for ReSharper & Rider 2024.1

7.6.1

  • Fixed publish of Rider Plugin. Nothing changed for Visual Studio plugin.

7.6.0

  • Added support for ReSharper 2023.2
  • Publish Rider version in addition to ReSharper. Notice, Rider version lucks some features which are Visual Studio specific.
  • .NETFramework 4.7.2
    • Wave (= 241.0.0)
  • .NETFramework 4.7.2: 4.7.2.0

Owners

Alex Povar

Authors

Oleksandr Povar

Project URL

https://github.com/Zvirja/ReSharperHelpers

License

MIT

Tags

resharper helpers productivity testing navigation cleanup actions plugin povar

Info

208 total downloads
1 downloads for version 7.7.0.6
Download (2.49 MB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
7.7.0.6 2.49 MB Mon, 15 Apr 2024 17:33:57 GMT 1
7.7.0.5 2.49 MB Mon, 15 Apr 2024 17:29:03 GMT 0
7.7.0.4 2.49 MB Mon, 15 Apr 2024 17:24:11 GMT 0
7.7.0.3 2.49 MB Mon, 15 Apr 2024 17:19:28 GMT 0
7.7.0.1 2.49 MB Mon, 15 Apr 2024 16:22:09 GMT 0
7.6.1.5 2.49 MB Mon, 15 Apr 2024 16:15:20 GMT 0
7.6.1.3 2.49 MB Mon, 15 Apr 2024 15:54:05 GMT 0
7.6.1.2 2.5 MB Tue, 12 Dec 2023 16:58:01 GMT 3
7.6.1.1 2.47 MB Mon, 11 Dec 2023 16:17:21 GMT 0
7.6.0.3 2.47 MB Mon, 11 Dec 2023 16:07:49 GMT 0
7.6.0.2 2.47 MB Mon, 11 Dec 2023 15:14:06 GMT 0
7.6.0.1 2.47 MB Fri, 08 Dec 2023 15:47:59 GMT 2
7.5.0.5 2.47 MB Fri, 08 Dec 2023 15:32:56 GMT 0
7.5.0.1 2.46 MB Thu, 07 Sep 2023 13:52:49 GMT 2
7.4.0.3 2.46 MB Thu, 07 Sep 2023 13:49:00 GMT 0
7.4.0.2 2.46 MB Tue, 27 Jun 2023 11:34:07 GMT 2
7.4.0.1 2.46 MB Thu, 13 Apr 2023 15:52:51 GMT 1
7.3.1.3 2.46 MB Thu, 13 Apr 2023 15:45:19 GMT 1
7.3.1.1 4.69 MB Wed, 25 Jan 2023 15:51:07 GMT 2
7.3.0.3 4.69 MB Wed, 25 Jan 2023 15:34:22 GMT 1
7.3.0.2 226.7 KB Wed, 25 Jan 2023 15:08:15 GMT 1
7.3.0.1 226.68 KB Thu, 15 Dec 2022 10:00:23 GMT 3
7.2.0.12 226.72 KB Thu, 15 Dec 2022 09:37:17 GMT 1
7.2.0.11 226.71 KB Thu, 15 Dec 2022 09:23:43 GMT 1
7.2.0.7 226.46 KB Tue, 22 Nov 2022 14:22:26 GMT 2
7.2.0.4 1.27 MB Mon, 14 Nov 2022 13:49:29 GMT 1
7.2.0.3 1.27 MB Mon, 14 Nov 2022 11:03:17 GMT 0
7.2.0.2 1.27 MB Wed, 02 Nov 2022 09:55:29 GMT 1
7.2.0.1 1.27 MB Wed, 03 Aug 2022 12:49:21 GMT 2
7.1.0.4 1.27 MB Wed, 03 Aug 2022 12:34:47 GMT 1
7.1.0.3 1.27 MB Wed, 03 Aug 2022 08:40:21 GMT 1
7.1.0.2 1.27 MB Mon, 20 Jun 2022 10:57:41 GMT 2
7.1.0.1 1.27 MB Wed, 20 Apr 2022 12:02:59 GMT 3
7.0.1.1 1.27 MB Mon, 11 Apr 2022 13:23:13 GMT 3
7.0.0.9 1.27 MB Sun, 10 Apr 2022 22:10:44 GMT 0
7.0.0.7 1.27 MB Sun, 10 Apr 2022 20:59:39 GMT 0
7.0.0.6 1.27 MB Mon, 14 Mar 2022 13:32:00 GMT 3
7.0.0.4 1.27 MB Fri, 10 Dec 2021 11:34:33 GMT 6
7.0.0.1 1.27 MB Fri, 10 Dec 2021 10:47:17 GMT 0
6.0.0.8 1.27 MB Tue, 07 Dec 2021 13:20:08 GMT 2
6.0.0.4 1.27 MB Fri, 15 Oct 2021 12:30:10 GMT 4
6.0.0.3 1.27 MB Tue, 12 Oct 2021 12:15:42 GMT 0
6.0.0.2 1.27 MB Tue, 12 Oct 2021 10:55:09 GMT 1
6.0.0.1 1.27 MB Thu, 02 Sep 2021 16:16:32 GMT 1
5.10.1.2 1.27 MB Thu, 02 Sep 2021 16:08:45 GMT 0
5.10.1.1 1.27 MB Wed, 01 Sep 2021 09:05:29 GMT 0
5.10.0.1 654.25 KB Tue, 03 Aug 2021 14:52:08 GMT 1
5.9.0.3 654.25 KB Tue, 03 Aug 2021 14:37:36 GMT 1
5.9.0.1 654.16 KB Wed, 12 May 2021 10:27:37 GMT 2
5.8.0.1 654.14 KB Mon, 14 Dec 2020 12:49:02 GMT 1
5.7.0.3 654.13 KB Mon, 14 Dec 2020 12:43:16 GMT 1
5.7.0.2 654.15 KB Tue, 17 Nov 2020 16:58:50 GMT 2
5.7.0.1 654.14 KB Wed, 02 Sep 2020 19:12:51 GMT 2
5.6.0.10 654.15 KB Wed, 02 Sep 2020 19:08:06 GMT 0
5.6.0.6 654.17 KB Mon, 06 Jul 2020 22:00:21 GMT 0
5.6.0.5 654.16 KB Mon, 06 Jul 2020 21:56:58 GMT 0
5.6.0.4 654.08 KB Mon, 06 Jul 2020 21:42:33 GMT 0
5.6.0.3 654.08 KB Mon, 06 Jul 2020 21:35:21 GMT 0
5.6.0.2 654.09 KB Mon, 06 Jul 2020 19:20:25 GMT 0
5.6.0.1 653.9 KB Mon, 27 Apr 2020 11:03:58 GMT 1
5.5.0.1 653.88 KB Thu, 12 Dec 2019 09:44:11 GMT 1
5.4.0.2 656.75 KB Mon, 19 Aug 2019 21:15:56 GMT 1
5.4.0.1 656.76 KB Sun, 11 Aug 2019 15:03:35 GMT 1
5.4.0 656.73 KB Sun, 11 Aug 2019 15:01:18 GMT 0
5.3.0.6 656.76 KB Sun, 11 Aug 2019 14:26:27 GMT 1
5.3.0.2 658.08 KB Sun, 11 Aug 2019 14:40:54 GMT 1
5.3.0.1 658.07 KB Tue, 30 Apr 2019 17:09:30 GMT 1
5.2.0.11 658.07 KB Tue, 30 Apr 2019 16:55:10 GMT 0
5.2.0.7 656.85 KB Sun, 03 Feb 2019 20:04:16 GMT 0
5.2.0.6 656.85 KB Sun, 03 Feb 2019 20:01:41 GMT 0
5.2.0.5 656.85 KB Sun, 03 Feb 2019 19:20:43 GMT 0
5.2.0.4 656.84 KB Wed, 30 Jan 2019 21:44:13 GMT 0
5.2.0.3 656.84 KB Thu, 27 Dec 2018 13:48:56 GMT 0
5.2.0.1 656.84 KB Thu, 27 Dec 2018 10:40:44 GMT 0
5.1.0.1 656.82 KB Wed, 22 Aug 2018 12:12:56 GMT 1
5.0.0.2 656.63 KB Tue, 17 Apr 2018 09:35:33 GMT 2
5.0.0.1 656.63 KB Tue, 17 Apr 2018 09:30:09 GMT 1
4.5.0.13 656.52 KB Tue, 17 Apr 2018 09:06:30 GMT 1
4.5.0.7 661.03 KB Fri, 02 Feb 2018 09:43:00 GMT 2
4.5.0.6 661.03 KB Fri, 22 Dec 2017 16:57:01 GMT 1
4.5.0.5 661.04 KB Tue, 19 Dec 2017 17:00:45 GMT 1
4.5.0.4 661.04 KB Tue, 19 Dec 2017 16:45:43 GMT 1
4.5.0.3 661.04 KB Tue, 19 Dec 2017 16:24:21 GMT 1
4.5.0.2 661.03 KB Tue, 19 Dec 2017 16:06:22 GMT 1
4.4.1.5 661.03 KB Tue, 19 Dec 2017 15:52:12 GMT 1
4.4.1.1 661.12 KB Thu, 02 Nov 2017 13:40:23 GMT 1
4.4.0.5 661.11 KB Wed, 18 Oct 2017 17:55:04 GMT 1
4.4.0.3 661.13 KB Mon, 09 Oct 2017 13:29:49 GMT 2
4.4.0.2 661.13 KB Wed, 04 Oct 2017 11:32:03 GMT 1
4.4.0.1 661.13 KB Thu, 24 Aug 2017 22:06:28 GMT 3
4.3.1.21 661.09 KB Thu, 24 Aug 2017 21:48:26 GMT 1
4.3.1.4 661.92 KB Tue, 18 Jul 2017 10:10:46 GMT 1
4.3.0.2 661.91 KB Fri, 30 Jun 2017 14:05:57 GMT 4
4.3.0.1 661.69 KB Fri, 05 May 2017 12:28:24 GMT 2
4.2.0.19 661.59 KB Fri, 05 May 2017 11:57:55 GMT 1
4.2.0.18 661.77 KB Fri, 05 May 2017 10:47:17 GMT 2
4.2.0.13 661.49 KB Thu, 04 May 2017 12:54:04 GMT 2
4.2.0.4 661.48 KB Wed, 03 May 2017 13:52:49 GMT 0
4.1.0.166 661.44 KB Mon, 03 Apr 2017 21:01:59 GMT 1
4.1.0.165 661.26 KB Wed, 15 Mar 2017 20:58:11 GMT 2
4.1.0.164 655.44 KB Wed, 15 Mar 2017 20:56:01 GMT 3
4.1.0.161 661.26 KB Tue, 14 Mar 2017 21:22:15 GMT 2
4.1.0.160 661.25 KB Tue, 14 Mar 2017 21:20:11 GMT 1
4.1.0.159 661.25 KB Tue, 14 Mar 2017 21:15:12 GMT 1
4.1.0.158 661.26 KB Tue, 14 Mar 2017 17:12:41 GMT 2
4.1.0.157 661.26 KB Tue, 14 Mar 2017 16:29:45 GMT 2
4.1.0.152 661.15 KB Tue, 14 Mar 2017 16:01:05 GMT 1
4.1.0.151 661.15 KB Tue, 14 Mar 2017 15:55:31 GMT 1
4.1.0.150 661.1 KB Tue, 14 Mar 2017 14:14:28 GMT 1
4.1.0.146 630.84 KB Thu, 09 Feb 2017 10:26:10 GMT 1
4.1.0.143 630.81 KB Wed, 08 Feb 2017 17:14:43 GMT 3
4.0.0.145 630.73 KB Thu, 09 Feb 2017 10:22:20 GMT 1
4.0.0.142 630.71 KB Thu, 02 Feb 2017 13:41:07 GMT 2
4.0.0.141 630.48 KB Thu, 26 Jan 2017 20:55:26 GMT 3
4.0.0.140 630.47 KB Wed, 25 Jan 2017 09:12:14 GMT 2
4.0.0.139 630.46 KB Fri, 20 Jan 2017 17:25:29 GMT 1
4.0.0.138 630.29 KB Thu, 12 Jan 2017 14:33:32 GMT 0
4.0.0.137 630.28 KB Fri, 16 Dec 2016 12:14:15 GMT 1
3.0.1.135 630.13 KB Fri, 16 Dec 2016 11:50:47 GMT 0
3.0.1.134 633.52 KB Sat, 22 Oct 2016 09:18:05 GMT 3
3.0.0.132 633.49 KB Fri, 21 Oct 2016 23:08:33 GMT 3
2.1.0.130 633.18 KB Fri, 21 Oct 2016 22:23:57 GMT 0
2.1.0.125 633.18 KB Mon, 17 Oct 2016 10:21:57 GMT 2
2.1.0.124 633.1 KB Mon, 17 Oct 2016 10:03:02 GMT 3
2.1.0.123 633.13 KB Thu, 13 Oct 2016 11:06:10 GMT 3
2.1.0.122 632.95 KB Wed, 12 Oct 2016 16:20:53 GMT 1
2.1.0.121 632.61 KB Wed, 12 Oct 2016 13:14:17 GMT 2
2.1.0.120 631.53 KB Fri, 30 Sep 2016 11:37:42 GMT 1
2.0.0.118 631.33 KB Fri, 30 Sep 2016 10:42:42 GMT 2
2.0.0.117 631.02 KB Wed, 28 Sep 2016 14:52:26 GMT 1
2.0.0.116 631.16 KB Wed, 28 Sep 2016 10:02:00 GMT 0
2.0.0.115 631.17 KB Tue, 27 Sep 2016 08:29:30 GMT 1
2.0.0.114 629.51 KB Mon, 26 Sep 2016 15:20:38 GMT 0
2.0.0.113 631.39 KB Fri, 09 Sep 2016 08:35:51 GMT 1
2.0.0.112 631.41 KB Fri, 09 Sep 2016 08:32:23 GMT 2
2.0.0.111 629.51 KB Fri, 09 Sep 2016 08:29:40 GMT 3
2.0.0.110 629.52 KB Wed, 07 Sep 2016 15:11:51 GMT 3
2.0.0.81 629.52 KB Wed, 07 Sep 2016 08:29:24 GMT 2
1.1.0.79 629.35 KB Wed, 07 Sep 2016 08:18:19 GMT 1
1.1.0.78 629.53 KB Wed, 07 Sep 2016 08:13:19 GMT 1
1.1.0.77 629.51 KB Wed, 07 Sep 2016 08:10:19 GMT 1
1.1.0.75 629.35 KB Wed, 07 Sep 2016 08:00:35 GMT 1
1.1.0.74 629.35 KB Wed, 07 Sep 2016 07:41:17 GMT 2
1.1.0.73 629.31 KB Wed, 07 Sep 2016 07:32:16 GMT 3
1.1.0.72 629.32 KB Wed, 07 Sep 2016 07:12:40 GMT 3
1.1.0.71 629.33 KB Tue, 06 Sep 2016 12:53:27 GMT 3
1.1.0.70 627.7 KB Sun, 28 Aug 2016 21:50:15 GMT 4
1.1.0.69 627.7 KB Sun, 28 Aug 2016 17:48:09 GMT 1
1.1.0.67 626.36 KB Tue, 23 Aug 2016 13:30:03 GMT 1
1.0.109 629.51 KB Wed, 07 Sep 2016 15:10:05 GMT 1
1.0.108 629.51 KB Wed, 07 Sep 2016 15:08:04 GMT 1
1.0.0.66 626.35 KB Mon, 22 Aug 2016 10:18:52 GMT 2
1.0.0.65 622.66 KB Wed, 10 Aug 2016 14:23:45 GMT 1
1.0.0.64 622.61 KB Tue, 09 Aug 2016 08:57:15 GMT 1
1.0.0.63 622.61 KB Tue, 09 Aug 2016 08:46:53 GMT 1
1.0.0.62 622.13 KB Mon, 08 Aug 2016 22:29:50 GMT 2
1.0.0.61 621.45 KB Mon, 08 Aug 2016 21:33:00 GMT 0
1.0.0.60 621.47 KB Mon, 08 Aug 2016 21:01:40 GMT 1
1.0.0.59 621.46 KB Sat, 06 Aug 2016 14:28:08 GMT 1
1.0.0.58 621.46 KB Sat, 06 Aug 2016 14:24:35 GMT 1
1.0.0.57 621.46 KB Fri, 05 Aug 2016 13:23:29 GMT 3
1.0.0.55 616.7 KB Fri, 05 Aug 2016 12:57:50 GMT 2
1.0.0.54 616.7 KB Fri, 05 Aug 2016 12:54:03 GMT 1