Bug 570099

Summary: Search freezes on long text lines
Product: [Eclipse Project] Platform Reporter: Paul Austin <paul.austin+eclipse>
Component: SearchAssignee: Platform-Search-Inbox <platform-search-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.19   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Paul Austin CLA 2021-01-05 13:44:46 EST
When doing a search in a file the application freezes with high CPU if the search results contain files that have really long lines.

Specifically if webpack javascript files are in the results.

1. Is there a way in the results display to cache only the fragment of the text that would appear in the results. The UI freeze might be due to it trying to render the whole line which could be MB in size.

2. It would be nice if globally you could setup don't search locations. At the moment I have to mark those folders as derived for each project. Form things like target (it's ignored only for maven modules) and node_modules. node_modules is the worse offender.