Skip to content

feat: updated rider sdk to 2026.1.0.1#562

Open
MikitaY wants to merge 1 commit into
Xavalon:masterfrom
MikitaY:update/rider-2026-migration
Open

feat: updated rider sdk to 2026.1.0.1#562
MikitaY wants to merge 1 commit into
Xavalon:masterfrom
MikitaY:update/rider-2026-migration

Conversation

@MikitaY
Copy link
Copy Markdown

@MikitaY MikitaY commented Apr 26, 2026

Description:

Fixes #561 (#561)

Updated the Rider plugin to be compatible with JetBrains Rider 2026.1 by addressing breaking changes in the SDK and build tooling.

Changes made:

  • Updated JetBrains.Rider.SDK to 2026.1.0.1
  • Updated Gradle wrapper to 9.4.1
  • Updated intellij-platform Gradle plugin to 2.5.0
  • Updated Kotlin to 2.1.10
  • Fixed SubmenuBehavior usage — constructor became private, replaced with SubmenuBehavior.Custom()
  • Removed [NotNull]/[CanBeNull] annotations from JetBrains.Annotations which became inaccessible in the new SDK
  • Fixed deprecated toLowerCase()lowercase() in protocol/build.gradle.kts
  • Fixed project.exec {}providers.exec {} for Gradle 9 compatibility
  • Fixed Rider dependency declaration: rider(version) { useInstaller = false }
  • Fixed platform type from "riderRD" to "RD"

Tested on:

  • Rider 2026.1
  • .NET Framework 4.7.2

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested my changes by running the extension in VS2017
  • I have tested my changes by running the extension in VS2019
  • I have tested my changes by running the extension in VS2022
  • If changes to the documentation are needed, I have noted this in the description above

@MikitaY
Copy link
Copy Markdown
Author

MikitaY commented Apr 26, 2026

Compiled version of the plugin for testing:
xamlstyler.rider-0.0.1338.zip

@MikitaY
Copy link
Copy Markdown
Author

MikitaY commented Apr 26, 2026

Corrected Pipeline:
build-extension-rider-public.yaml

@Zarpyk
Copy link
Copy Markdown
Contributor

Zarpyk commented May 8, 2026

This is generated with AI, right? This doesn't work and you change a lots of things that is not needed... Also, I already fix this on the pull request #559 and is only a constructor that is removed on 2026.1

@MikitaY
Copy link
Copy Markdown
Author

MikitaY commented May 8, 2026

Oh, no, maybe only the text of the PR was generated by AI, I updated the SDK Rider and the rest of the packages that were required. I've probably done some extra work😅 but it helped me run the plugin. Thank you for your work

@MikitaY
Copy link
Copy Markdown
Author

MikitaY commented May 8, 2026

I looked at my PR again, I did an unnecessary refactoring (I like to remove warnings) and Rider my moved the lines automatically, for that I bring my changes, I can fix that if the rest of the changes are needed. I didn't have the plugin build when replacing the constructor, that's the first thing I did

@MikitaY
Copy link
Copy Markdown
Author

MikitaY commented May 8, 2026

@Zarpyk Have you tried building your version? It doesn't work for me, I tried your version

@Zarpyk
Copy link
Copy Markdown
Contributor

Zarpyk commented May 8, 2026

Yes, it build successfully and I use it on my job, you need java 21 to build it. I've tried compiling your version and it don't have the option to format.
imagen

@MikitaY
Copy link
Copy Markdown
Author

MikitaY commented May 8, 2026

Thanks, I will install the right version of java and try again. Strange, I and my coworkers have a version running exactly the one assembled and attached to the comment above in zip. I also use it in my work. In any case, a 2 line change is better than a 100 line change 😁

@MikitaY
Copy link
Copy Markdown
Author

MikitaY commented May 8, 2026

I checked your branch again, it is built, but uses rider sdk 2025.1, yes, the plugin is built and works on Rider 2026.1, the documentation states that you need a intelliJPlatform version of at least 2.13 to work with sdk 2026.1 version

intelliJPlatform

RIDER: May need updating with new Rider releases
https://github.com/JetBrains/intellij-platform-gradle-plugin

https://platform.jetbrains.com/t/2026-1-is-coming-time-to-check-your-plugin-compatibility/3865?utm_source=

so I think your update is not enough

Look at what packages it downloads when it builds a plugin or runs it for debugging, for me it’s Rider 2025.1. You have a great simple hack, but I think that this is not a full update for the new Rider release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Update Rider SDK to 2026.1

2 participants