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

New error in PhpStorm 2024.1 #64

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

New error in PhpStorm 2024.1 #64

FeBe95 opened this issue Apr 10, 2024 · 2 comments
Assignees

Comments

@FeBe95
Copy link

FeBe95 commented Apr 10, 2024

The following error is popping up since I've updated to PhpStorm 2024.1. The plugin still works flawlessly though.

com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'core.ToggleAction' must override `getActionUpdateThread` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: com.noorts.toggler]
	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)

System Info:

  • Toggler 1.3.1
  • PhpStorm 2024.1 (Build #PS-241.14494.237)
  • Windows 11
@Noorts
Copy link
Owner

Noorts commented Apr 11, 2024

Welcome back and thanks for the detailed report! It is much appreciated!

As the exception states it seems to be a simple deprecation.

Relevant resources:

I'll pick up the issue once I have a bit more time.

@Noorts
Copy link
Owner

Noorts commented May 12, 2024

The new Toggler v1.4.0 includes platform version and Java bumps and addresses the deprecation. For the specifics check out #66.

The new update is available here as a release, and will be released after approval on the marketplace in about 2 business days.

This should adequately address the deprecation warning (I wasn't able to reproduce locally). Do let me know if you run into any issues! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants