zeromicro / go-zero

A cloud-native Go microservices framework with cli tool for productivity.
https://go-zero.dev
MIT License
29.37k stars 3.97k forks source link

Goland IDE plug-in bug? #4403

Closed pashifika closed 1 month ago

pashifika commented 1 month ago

Describe the bug A clear and concise description of what the bug is.

Goland Version: 2024.2.3 Goctl plug-in Version: 1.1.9

To Reproduce Steps to reproduce the behavior, if applicable:

The new UI is enable.

  1. The error is

    com.intellij.diagnostic.PluginException: `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'cn.xiaoheiban.action.ApiNewAction' must override `getActionUpdateThread()` and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: cn.xiaoheiban.go-zero]
    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)

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environments (please complete the following information):

More description Add any other context about the problem here.

kesonan commented 1 month ago

This will not affect the use of the plug-in. The knowledge reminder is that the internal components are out of date. Many plug-ins have this problem.