eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
Eclipse hangs when opening a minified CSS file in CSS Editor
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 201
- 派生
- 76
- 平均合并
- 4 天 7 小时
- 30 天内合并 PR
- 21
描述
When I open a minified CSS file, i.e. with one very long line (e.g. 80k characters), Eclipse hangs with 100% CPU load.
The severity is different for different files of similar length, probably depending on the content. For some, Eclipse hangs for about a minute, which allows you to close the editor without killing Eclipse, e.g. fontawesome.min.css from https://fontawesome.com/download .
Others, like a proprietary file that I can't share, make Eclipse sleep for at least one hour (maybe forever).
While I can consciously avoid opening these files, it is especially annoying in a global search, when clicking next takes you to such a file without a warning.
When I open the same file in the plain text file editor, the CPU load goes up to 100%, too, but Eclipse gets responsive again much faster.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 CSS Editor 中打开报告中的 fontawesome.min.css,以重现卡顿,然后将其与纯文本编辑器以及从全局搜索进行导航的情况进行比较。跟踪 CSS Editor 的打开路径,并测量长行文件上的响应性;完成的标准是:可以打开这些文件或从搜索结果访问这些文件,同时 Eclipse 不会失去响应。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- css, java
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100