-
Notifications
You must be signed in to change notification settings - Fork 73
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
PluginException: ActionUpdateThread.OLD_EDT
is deprecated
#88
Comments
Seeing the same in 'RubyMine 2024.1 Build #RM-241.14494.234` |
Same with the PhpStorm
|
This error will likely show up in the 2024.1 version of every JetBrains IDE. They share a common plugin API. It looks like the deprecation was first added in the 2022.3 quarterly releases (so, a little less than two years ago). I don't know whether "going to be removed soon" means 2024.2 or 2025.1, but when that occurs the plugin will probably be completely broken. I think the fix may be as simple as adding Index: src/de/dreamlab/dash/AbstractMenuAction.java
===================================================================
@@ -54,4 +54,9 @@
presentation.setEnabled(PlatformDataKeys.EDITOR.getData(e.getDataContext()) != null);
}
+
+ @Override
+ public @NotNull ActionUpdateThread getActionUpdateThread() {
+ return ActionUpdateThread.BGT;
+ }
} (But it's a very long time since I've done any Java coding, and I'm not set up to build JetBrains plugins to test it.) |
I tried Dash the first time today and could not open the IntelliJ Plugin because of this issue. |
Apparently the Dash plugin needs an update for newer JetBrains IDEs: "'de.dreamlab.dash.SmartSearchAction' must override `getActionUpdateThread` and chose EDT or BGT. See ActionUpdateThread javadoc."
I've started getting the following exception in IDE Internal Errors, repeatedly:
(Might be related to #87.)
The text was updated successfully, but these errors were encountered: