Open
Description
Describe the problem
When using the "global" search in a large project, the IDE can crawl to a halt as the search term is typed in. In some situations I have had the IDE turn unresponsive with just a single letter typed in - preventing me from adding more elements to the search term.
I believe that this is due to it trying hard to find all instances of the search term AS it is being typed in.
To reproduce
- Open a large sketch.
- Open the "SEARCH" view.
- Type a letter in the "Search" field.
Expected behavior
Triggering the search only after the user clicks a button or presses Enter would prevent the problem.
Arduino IDE version
2.0.1
Operating system
Windows
Operating system version
10
Additional context
Additional reports
- https://forum.arduino.cc/t/search-all-sketch-dont-wait-for-enter/1093641
- https://forum.arduino.cc/t/ide-2-1-1-hangs-when-entering-search-term-in-text-box/1158462
- https://forum.arduino.cc/t/arduino-ide-2-2-1-locks-up/1176248
Keywords
- "find"
- "hot search"
- "incremental find"
- "real-time suggestions"
- "live search"
- "active search"
- "real-time"
- "realtime"
- "real time"
- "hang"
- "freeze"
Issue checklist
- I searched for previous requests in the issue tracker
- I verified the feature was still missing when using the latest nightly build
- My request contains all necessary details