Skip to content

use ActionUpdateThread.BGT in actions to fix IDE errors#65

Merged
vldF merged 3 commits intohidanio/2025.1_migrationfrom
vldf/fix-edt-bgt
Jul 28, 2025
Merged

use ActionUpdateThread.BGT in actions to fix IDE errors#65
vldF merged 3 commits intohidanio/2025.1_migrationfrom
vldf/fix-edt-bgt

Conversation

@vldF
Copy link
Contributor

@vldF vldF commented Jul 24, 2025

Previously, getActionUpdateThread was added to the IntelliJ Platform. Then, some restrictions were introduces to the update method of AnAction class. Now, any non-ui-interaction operation must be called on BGT. It also allows us to get ride of SlowOperations.allowSlowOperations use which is tagged @Depricated now.

I have it tested as much as I can. However, I would like to ask some manual testing by any maintainer

@vldF vldF requested a review from Danil42Russia July 24, 2025 13:20
@vldF vldF self-assigned this Jul 24, 2025
@vldF vldF added the bug Something isn't working label Jul 24, 2025
@vldF vldF merged commit 46503ac into hidanio/2025.1_migration Jul 28, 2025
@vldF vldF deleted the vldf/fix-edt-bgt branch July 28, 2025 11:36
vldF added a commit that referenced this pull request Aug 4, 2025
* set all actions update thread to the BGT

* make `getActionUpdateThread` one-line function

* Add TODO to UsagesBaseFinder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants