-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eclipse hangs when opening a minified CSS file in CSS Editor #656
Comments
I can easily reproduce it with fontawesome.min.css The stack while this is frozen is
|
No news on this one for a long time, it seems. Not even a reaction on the upstream report at tm4e. I am really surprised, because it is the most annoying bug in eclipse IMHO. I wonder why nobody else seems to be minding at all. I am working around it by setting the default editor for all css files to the plain eclipse text editor. That's not ideal because I lose syntax highlighting and the like, but better than waiting for eclipse to recover several times a day, or restarting it in the middle of a carefully crafted debugging session. |
Probably other people have different opinion on what is the most annoying bug in Eclipse and have decided to place their efforts according to their own opinion. |
True, I didn't want to sound harsh. Anyway, I looked into my error logs and believe it might not be an issue with TM4E, because the same issue occurs with two different CSS editors with similar but different stack traces, and only one involves TM4E. These are the stack traces: |
The problem exists with Eclipse 2021-06 too. |
+1, I found this thread after running into the problem with opening a bootstrap.min.css as well. org.eclipse.wildwebdeveloper.feature.feature.group: Also going for the workaround: "I am working around it by setting the default editor for all css files to the plain eclipse text editor." |
Still an annoying issue in Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components) |
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.
The text was updated successfully, but these errors were encountered: