Community
Participate
Working Groups
I work on a large workspace full of many different Java and JavaScript projects. I frequently use the File Search feature to try and find certain strings in any files (specifying "*" for filename) within the Enclosing Project or Resource. But, sometimes depending on what was last selected in the Project Explorer, the search Scope gets set to "Workspace" accidentally and I wind up searching through all files in the Workspace (not what I want) and will naturally take a very long time due to the sheer number of files. When I see that has happened or hear my CPU fan speed going to maximum then I know the search was not what I wanted. At that point, I then click he "X" button in the Search Results window to cancel the search. More often than not, this causes the Search Results page to become disabled/grayed-out and the search continues to run and the rest of the Eclipse IDE becomes completely unresponsive. The only thing I can do at this point is kill Eclipse using the Task Manager. I've waited over 15 to 30 minutes after clicking cancel but the search never stops. Can the file search be fixed to check for cancellation once every 10 seconds or something like that? -- Configuration Details -- Product: Spring Tool Suite 3.9.4.201804120921-RELEASE (org.springsource.sts.ide)Installed Features: org.eclipse.platform 4.7.3.v20180330-0640
Please try latest 4.9 or 4.10 nightly build. If this still reproducible, please create jstack dump at the moment Eclipse is not responsible and attach here.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
I can confirm that this is still present in Eclipse 4.20.0.
Cancellation of file searches still doesn't work reliable.
https://github.com/eclipse-platform/eclipse.platform.text/pull/61
Please test with next build. 4.25 M2
The bug is still here in eclipse "2024-03) (4.31.0) I did an file search for *body and eclipse is totaly blocked. After many minutes i need do kill the process since it does not become responsive again.