Page 1 of 1

code indexer in espressif-ide

Posted: Sun Feb 09, 2025 11:07 pm
by jan8051
Hello
I am new to esp32 and just started with installing lastest espressif-ide V3.2.0 . I can compile program and debug the example projects.
One thing I don't know how and bothers me how to enable and use the indexer. In the menu i don't see an option go to definition or simulator. Also the option refactor rename option is greyed out.
Is there some documentation about this.
Thanks Jan

Re: code indexer in espressif-ide

Posted: Mon Feb 17, 2025 12:15 pm
by ESP_kondalkolipaka
Hello,

Indexing works out of the box, and you don’t need to do anything specific as a user. As soon as the project is built, indexing will be triggered, and headers will be resolved.

For “Go to Definition,” you can try Ctrl + Click to navigate to the definition.

Here are some helpful resources:
https://developer.espressif.com/blog/es ... eclaration
https://docs.espressif.com/projects/esp ... ght=clangd

I believe these resources will help you better understand the editor’s capabilities.