continue icon indicating copy to clipboard operation
continue copied to clipboard

Deprecated `ActionUpdateThread.OLD_EDT` usage in `continueintellijextension`

Open px100 opened this issue 2 years ago • 6 comments

Before submitting your bug report

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

  1. Install and enable the Continue.dev IntelliJ extension.
  2. Attempt to trigger the autocomplete functionality.
  3. 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)

px100 avatar Nov 06 '24 02:11 px100

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.

chubshaun avatar Nov 07 '24 05:11 chubshaun

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

sestinj avatar Nov 27 '24 20:11 sestinj

I've upgraded today, and can confirm to new readers that this still impacts 0.0.83

drbscl avatar Dec 11 '24 08:12 drbscl

Just saw this when opening a directory with no files.

dandv avatar Dec 15 '24 13:12 dandv

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.

github-actions[bot] avatar Mar 16 '25 02:03 github-actions[bot]

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!

github-actions[bot] avatar Mar 27 '25 02:03 github-actions[bot]