fehnomenal / intellij-direnv

direnv integration for JetBrains IDEs
MIT License
67 stars 21 forks source link

Exception thrown #62

Open hendrikras opened 1 month ago

hendrikras commented 1 month ago

Running: WebStorm 2024.2 It sometimes just works, but more than not it throws:

com.intellij.diagnostic.PluginException: ActionUpdateThread.OLD_EDT is deprecated and going to be removed soon. 'systems.fehn.intellijdirenv.DirenvImportAction' must override getActionUpdateThread() and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: systems.fehn.intellijdirenv] 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:201)

hendrikras commented 1 month ago

Proposed fix: #63