Deprecated `ActionUpdateThread.OLD_EDT` usage in `continueintellijextension`
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: macOS
- Continue version: v0.0.80
- IDE version: Build #IU-242.23726.103, built on October 23, 2024
- Model: Sonnet 3.5
- config.json:
Description
Encountering a deprecation warning related to the ActionUpdateThread.OLD_EDT in the Continue.dev extension for JetBrains IntelliJ IDEA. The CancelAutocompleteAction class needs to override getActionUpdateThread() and specify either EDT or BGT to ensure compatibility with upcoming updates.
To reproduce
- Install and enable the Continue.dev IntelliJ extension.
- Attempt to trigger the autocomplete functionality.
- Observe the deprecation warning in the logs.
Log output
com.intellij.diagnostic.PluginException: ActionUpdateThread.OLD_EDT is deprecated and going to be removed soon. 'com.github.continuedev.continueintellijextension.autocomplete.CancelAutocompleteAction' must override getActionUpdateThread() and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: com.github.continuedev.continueintellijextension]
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)
Just to add to this, for me this message is thrown in a bold red error message as soon as I open some repos (I don't even have Continue setup for autocomplete functionality) in Webstorm running Continue v0.0.80.
Very good to know, thanks for the report. We'll be attempting to clean a lot of small errors like this in December and will take care to fix this
I've upgraded today, and can confirm to new readers that this still impacts 0.0.83
Just saw this when opening a directory with no files.
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!