Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rider] warning about deprecated function #1224

Closed
MonstraG opened this issue Apr 10, 2024 · 2 comments
Closed

[rider] warning about deprecated function #1224

MonstraG opened this issue Apr 10, 2024 · 2 comments

Comments

@MonstraG
Copy link

This one, I think, is fairly easy to solve. Rider 2024.1 was released couple of days ago, and it reports that the plugin is using a deprectated function.

Environments

  • IDE Version: JetBrains Rider 2024.1, Build #RD-241.14494.307, built on April 8, 2024
  • Extension Version: 1.6.4
  • CSharpier Version: 0.27.3
    will NOT be the same as the extension version
  • Operating System: Linux
  • .csharpierrc Settings:
  • .editorconfig Settings:

Log Output

com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'com.intellij.csharpier.ReformatWithCSharpierAction' must override `getActionUpdateThread` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: com.intellij.csharpier]
	at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
	at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:90)
	at com.intellij.diagnostic.PluginException.reportDeprecatedUsage(PluginException.java:125)
	at com.intellij.openapi.actionSystem.ActionUpdateThreadAware.getActionUpdateThread(ActionUpdateThreadAware.java:21)
	at com.intellij.openapi.actionSystem.AnAction.getActionUpdateThread(AnAction.java:199)

Steps to reproduce
?

@jojoman2
Copy link
Contributor

jojoman2 commented Apr 11, 2024

Here is another jetbrains plugin that had this same problem: bazelbuild/intellij#5993
And how they solved it: bazelbuild/intellij#6101

@belav
Copy link
Owner

belav commented Apr 12, 2024

Thanks for the links! This will be resolved with 1.7.0 which should be out within a couple of days.

@belav belav closed this as completed Apr 12, 2024
belav added a commit that referenced this issue Apr 12, 2024
* Rider changes needed to support #1191

* Update CSharpierProcessServer.java

* Always use server when version >= 28

* update readme

* Deal with deprecated warning

closes #1224

* Some cleanup + logging version

* bump version
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

No branches or pull requests

3 participants