Arduino IDE 2.2.1 locks up

For starters, it takes forever for the IDE to load the project. It took some time for the previous version of the IDE, but this time it's no fun anymore. It takes less time to restart Windows ;-(.
What's worse: when I use the global search function (the magnifying glass on the left side) the IDE freezes after typing the first character. If I copy/paste an entire word in the search box, the search works as expected, but if I type one character at a time, it seems that the search takes off immediately after the 1st character and of course it wil find a gazillion occurences (but never returns). My only way out is to kill the IDE using task manager.
Suggestions:

  • wait about 1 second after a character has been entered to avoid searching for incomplete words (or in my case a single character...). This may in most cases delay the search until the user has finished typing the complete serach term.
  • limit the number of allowed occurences of the search term to a reasonable number. If the search would return an immense number of occurences, the result would be useless to the user anyway...
    FYI: my sketch is very large: about 600 kB source code in 22 files. I'm getting pretty close to the max. program size for an ESP32.
    PS: while I was typing t his, I kept the IDE open, just to see how this would end. The window of the IDE turned completely white and it's not responding to the close button (x). This suggests that the IDE silently crashed.
    I'm happy to provide error logs if there are any.

PS: just noticed that the same misbehaviour was reported in issue #1660 for IDE version 2.0.1:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.