I am using Arduino 2.3.2 with Win11 on a quite fast I7 Laptop.
The Problem is that auto comlpete (quick suggestions) takes up to 30 seconds to suggest something !
If I press Control+Space, I get the message "loading" and after 30 seconds I get the suggestions !!
It works perfectly on Visual studio code+platform IO but I prefer Arduino.
Are there any settings or any tips to solve this issue ??
Thanks folks
Hi @bionicle. The processing of the sketch program to produce the data used by the auto complete feature includes a lot of disk access. For this reason, the performance will likely be significantly better if everything is on an SSD instead of a mechanical hard drive.
If you have an SSD on your computer, make sure that Arduino IDE is installed on that drive and also that your sketchbook is on that drive. You can configure the sketchbook location in the Arduino IDE preferences (accessed via File > Preferences).
Hello,
Yes I have a very fast SSD and the skechbook in on the same drive!
Again: On visual studio code+platform IO I get the quick suggestions immedeately (without delay) in the same program (ino.file) with only 250 lines of code.
In the meantime I found out, that the auto-completion works good in Arduino IDE in very small ino files (<100 lines of code) but in lager files it simply does not work properly - this must be a bug!!