Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Bug] UI Freeze when starting Eclipse IDE

未关闭
#413 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
62/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
java

调研方向

首先跟踪 com.microsoft.copilot.eclipse.ui.preferences.LanguageServerSettingManager.updateMcpToolsStatus() 和 com.microsoft.copilot.eclipse.core.utils.WorkspaceUtils.listTopLevelProjects(),重点确认 workspace 遍历是否运行在 UI 线程上。使用报告中的 plugin 版本打开 Eclipse 进行复现,并确认启动过程保持响应,没有出现观察到的卡死。

由索引模型根据 Issue 内容生成。

描述

bug

Environment

  • OS: Windows 11
  • Eclipse Version: 4.40
  • Plugin Version: 0.20.0.202607100822 and also 0.21.0.202608060743

Describe the bug
UI Freeze when starting the Eclipse IDE.

My assumption is that the method com.microsoft.copilot.eclipse.ui.preferences.LanguageServerSettingManager.updateMcpToolsStatus () goes through all the projects in the workspace and it does so in the UI thread.

Image

Pay attention to the Hits column on the right: the actual numbers are not real but the fact that there is a steep increase from 1 to 40+ shows that there is a for-loop somewhere that creates this issue. My bet is on the method com.microsoft.copilot.eclipse.core.utils.WorkspaceUtils.listTopLevelProjects ().

To Reproduce
Open the Eclipse IDE

Expected behavior
The UI shouldn't freeze, it should remain responsive

Additional context
We downgraded to version 0.19.0.202606240339 and we hope that this version doesn't have the issue. I will report back in this issue if 0.19.x also has this problem.

主要语言
Java
星标
128
派生
66
平均合并
1 天 22 小时
30 天内合并 PR
7

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/copilot-for-eclipse 的其他 Issue

查看 microsoft/copilot-for-eclipse 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。