Skip to content

fix(idea): avoid ui freeze during method execution#252

Open
ThinkPeace wants to merge 2 commits intofuture0923:mainfrom
ThinkPeace:optimize-idea-plugin
Open

fix(idea): avoid ui freeze during method execution#252
ThinkPeace wants to merge 2 commits intofuture0923:mainfrom
ThinkPeace:optimize-idea-plugin

Conversation

@ThinkPeace
Copy link
Copy Markdown

@ThinkPeace ThinkPeace commented Mar 18, 2026

What

  • move several IntelliJ plugin UI-blocking operations off the EDT
  • generate parameter JSON asynchronously and block execution while generation is still running
  • load classloaders, result tabs, and debug tree children asynchronously
  • add .codex/ to .gitignore

Why

Clicking method execution or opening result/debug related views could freeze the whole IDEA window for a long time. This change reduces those UI freeze risks by moving blocking work to background threads and updating the UI on completion.

Verification

  • build plugin dependencies locally with Maven
  • :debug-tools-idea:compileJava passed
  • rebuilt plugin package successfully

apple_developer and others added 2 commits March 17, 2026 18:58
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@future0923
Copy link
Copy Markdown
Owner

加一下我

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants