Skip to content

Commit

Permalink
Add ReSharper and Rider 2023.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichb committed Nov 7, 2023
1 parent 1641643 commit 9484bb4
Show file tree
Hide file tree
Showing 17 changed files with 27 additions and 32 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

env:
BuildConfiguration: Release
BuildVersion: 1.19.0.${{ github.run_number }}
BuildVersion: 1.20.0.${{ github.run_number }}

jobs:
build:
Expand All @@ -20,7 +20,12 @@ jobs:
submodules: true

- name: Run Build.ps1
run: ./Build/Build.ps1 -Configuration ${{ env.BuildConfiguration }} -Version "${{ env.BuildVersion }}" -BranchName "${{ github.ref_name }}" -CoverageBadgeUploadToken ${{ secrets.COVERAGE_BADGE_UPLOAD_TOKEN }}
run: >
./Build/Build.ps1
-Configuration "${{ env.BuildConfiguration }}"
-Version "${{ env.BuildVersion }}"
-BranchName "${{ github.ref_name }}"
-CoverageBadgeUploadToken "${{ secrets.COVERAGE_BADGE_UPLOAD_TOKEN }}"
- name: Upload Packages artifacts
uses: actions/upload-artifact@v3
Expand Down
3 changes: 3 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 1.20.0 ###
- ReSharper and Rider 2023.3 support

### 1.19.0 ###
- ReSharper and Rider 2023.2 support
- Add missing 'displayName' for options page in Rider plugin metadata
Expand Down
8 changes: 4 additions & 4 deletions Roflcopter.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Src", "Src", "{26B55A35-CCB
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SolutionItems", "SolutionItems.csproj", "{6ADCE94D-EF87-42F6-A68B-69DA6FD90DE6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roflcopter.Plugin.RS20232", "Src\Roflcopter.Plugin\Roflcopter.Plugin.RS20232.csproj", "{9E2BBE59-1972-45B2-836B-802479CFEB6D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roflcopter.Plugin.RS20233", "Src\Roflcopter.Plugin\Roflcopter.Plugin.RS20233.csproj", "{9E2BBE59-1972-45B2-836B-802479CFEB6D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roflcopter.Plugin.Tests.RS20232", "Src\Roflcopter.Plugin.Tests\Roflcopter.Plugin.Tests.RS20232.csproj", "{6AFE9FA3-33A0-43B2-9C04-05A4C6A57A2D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roflcopter.Plugin.Tests.RS20233", "Src\Roflcopter.Plugin.Tests\Roflcopter.Plugin.Tests.RS20233.csproj", "{6AFE9FA3-33A0-43B2-9C04-05A4C6A57A2D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roflcopter.Sample", "Src\Roflcopter.Plugin.Tests\test\data\Roflcopter.Sample.csproj", "{DA8C3190-009E-430B-95B5-7AFF7AA0A55F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roflcopter.Plugin.RD20232", "Src\Roflcopter.Plugin\Roflcopter.Plugin.RD20232.csproj", "{B81B447C-A4D0-419A-BD44-8D8836272C3D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roflcopter.Plugin.RD20233", "Src\Roflcopter.Plugin\Roflcopter.Plugin.RD20233.csproj", "{B81B447C-A4D0-419A-BD44-8D8836272C3D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roflcopter.Plugin.Tests.RD20232", "Src\Roflcopter.Plugin.Tests\Roflcopter.Plugin.Tests.RD20232.csproj", "{E8FBF9D8-FDD3-4755-85D6-351600B6DB49}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roflcopter.Plugin.Tests.RD20233", "Src\Roflcopter.Plugin.Tests\Roflcopter.Plugin.Tests.RD20233.csproj", "{E8FBF9D8-FDD3-4755-85D6-351600B6DB49}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
2 changes: 1 addition & 1 deletion Shared
4 changes: 2 additions & 2 deletions Src/RiderPlugin/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rootProject.name = 'rider-Roflcopter'
gradle.ext.resharperPluginProjectName = 'Roflcopter.Plugin'
gradle.ext.productVersion = '2023.2' // https://www.jetbrains.com/intellij-repository/releases
gradle.ext.reSharperVersionIdentifier = 'RD20232'
gradle.ext.productVersion = '2023.3-SNAPSHOT' // https://www.jetbrains.com/intellij-repository/releases
gradle.ext.reSharperVersionIdentifier = 'RD20233'
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
namespace Roflcopter.Plugin.Tests.AssertionMessages
{
[TestFixture]
[TestNetFramework46]
public class InvalidAssertionMessageHighlightingTests : CSharpHighlightingTestBase
{
[Test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Roflcopter.Plugin.Tests.Macros
{
[TestFixture]
[TestNetFramework46]
[TestNet60]
public class GetBranchNameMacroImplementationTest : MacroImplTestBase
{
private GitRepositoryProvider _gitRepositoryProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace Roflcopter.Plugin.Tests.MismatchedFileNames
{
[TestFixture]
[TestNetFramework46]
[TestNet60]
public class MismatchedFileNameHighlightingQuickFixTest : CSharpQuickFixTestBase<MismatchedFileNameHighlightingQuickFixTest.TestQuickFix>
{
private TestQuickFix _quickFix;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
namespace Roflcopter.Plugin.Tests.MismatchedFileNames
{
[TestFixture]
[TestNetFramework46]
public class MismatchedFileNameHighlightingTests : CSharpHighlightingTestBase
{
[Test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Roflcopter.Plugin\Roflcopter.Plugin.RD20232.csproj" />
<ProjectReference Include="..\Roflcopter.Plugin\Roflcopter.Plugin.RD20233.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Roflcopter.Plugin\Roflcopter.Plugin.RS20232.csproj" />
<ProjectReference Include="..\Roflcopter.Plugin\Roflcopter.Plugin.RS20233.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Roflcopter.Plugin.Tests.TodoItems
{
[TestFixture]
[TestNetFramework46]
[TestNet60]
public class TodoItemsCountTests : BaseTestWithSingleProject
{
protected override string RelativeTestDataPath => Path.Combine(base.RelativeTestDataPath, "..");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

namespace Roflcopter.Plugin.Tests.UnitTesting
{
[TestNetFramework46]
[UseNUnitPackage]
[TestNet60]
[TestPackages("NUnit")]
public class ConvertToParameterizedTestContextActionTest : CSharpContextActionExecuteTestBase<ConvertToParameterizedTestContextAction>
{
protected override string RelativeTestDataPath => this.CalculateRelativeTestDataPath();
Expand All @@ -19,8 +19,8 @@ public class ConvertToParameterizedTestContextActionTest : CSharpContextActionEx
[Test]
public void TestMethodWithoutParameters() => DoNamedTest();

[TestNetFramework46]
[UseNUnitPackage]
[TestNet60]
[TestPackages("NUnit")]
public class AvailabilityTest : CSharpContextActionAvailabilityTestBase<ConvertToParameterizedTestContextAction>
{
protected override string RelativeTestDataPath => this.CalculateRelativeTestDataPath();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
namespace Roflcopter.Plugin.Tests.UnitTesting
{
[TestFixture]
[TestNetFramework46]
[TestNet60]
public class UnitTestRunFileActionTest : BaseTestWithSingleProject
{
// IDEA: Refactor to BaseTestWithTextControl and use the real test elements
Expand Down

This file was deleted.

0 comments on commit 9484bb4

Please sign in to comment.