Autocomplete didn't work anymore

In previous versions, the autocomplete works fine. But not more yet.


What's the reason?

Best

Erik

Hi @EriksArduino. Thanks for your report. Please provide detailed instructions I can follow to reproduce the problem you are experiencing.

It is now more clear from the second screenshot, which was not visible while I was writing my previous reply.

I just tried it in Arduino IDE 2.2.1 and it is working as expected for me.

Which board do you have selected in Arduino IDE?

Do you see a message at the right side of the status bar at the bottom of the Arduino IDE window? Something like:

indexing 3/42

or:

Building sketch

My board ist the Arduino-Nano-ESP32.
And yes, I can see the indexing and building-Info in the statusbar.
And if I want to write pinMode, it's also not working.
b

And yes, if I use the Arduino-Uno, everything's fine again!

I'm using the 2.2.1

I verified it is working for that board on my machine.

Does it start working after the message disappears? Arduino IDE must process all the files used by your sketch program before it can provide the "context-aware" features like autocomplete. That processing takes significantly longer for complex cores and toolchains such as the one used by the Arduino Nano ESP32 board when compared to the relatively simple core and toolchain of the Arduino Uno board.

If the message never goes away, it is possible it somehow hung during the processing. You can restart Arduino IDE to try to get it back into the state where it can complete the processing operations.

I reinstalled the Arduino IDE 2 and now it's working. Strange! But great and fast support here!

Thanks a lot!

Erik

I'm glad it is working now. Thanks for taking the time to post an update!

Regards,
Per

1 Like

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