I get this slowing down my flashing process just about every time I go to flash my device.
Version: 2.0.0-beta.4
I don't even know what exactly it is indexing but it would be nice to know what it is doing.
I get this slowing down my flashing process just about every time I go to flash my device.
Version: 2.0.0-beta.4
I don't even know what exactly it is indexing but it would be nice to know what it is doing.
The Arduino Language Server provides the auto-complete and "Go to" features. In order to do this, it must process your sketch in order to understand the code. This includes the libraries in addition to the sketch code itself. The "indexing" is shown when it is doing this processing.
I'd be interested in understanding better what you mean by "slowing down my flashing process". Are you saying the indexing is triggered when you do an upload?
Definitely worth updating to 2.0.0-beta.5. There have been a lot of improvements, including a new version of the Arduino Language Server. I don't have any specific reason to think that any of the improvements are related to the problem you're reporting, but it's worth a try at least.
I will try that, it's just constantly indexing. When I go to upload it does not upload immediately if it is currently indexing.
It definitely should not be constantly indexing. It needs to index every time you change boards or modify the sketch.
Is it possible to disable it entirely? It takes quite a few minutes to complete indexing and if I'm doing a lot of testing I don't really want to have it index everytime I change the code.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
The need for an option to disable the Arduino IDE's language server features is now being tracked by the Arduino IDE developers here: