eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
Eclipse hangs when opening a minified CSS file in CSS Editor
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 201
- Forks
- 76
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 21
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the hang by opening fontawesome.min.css from the report in the CSS Editor, then compare it with the plain text editor and navigation from global search. Trace the CSS Editor opening path and measure responsiveness on the long-line file; done means these files open or are reached from search without leaving Eclipse unresponsive.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100