Page 1 of 1

Code/TExt search in Eclipse IDE

Posted: Mon Oct 07, 2024 8:13 am
by benrank
Hello,

I have to use Core1 as a stand-alone Core, without any interaction with freertos or any other stuff after it started.
Therefore I dig inside the startup procedure of the cores. Unfortunately I can't tell the Eclipse IDE so search also the component folder
of the ESP-IDF installation. I use Windows 11. How can I expand the search to also view results inside the component folder e.g. cpu_startup.c?

Thanks in advance,
Benedikt

Re: Code/TExt search in Eclipse IDE

Posted: Tue Oct 08, 2024 11:45 am
by ESP_kondalkolipaka
Hello,

To achieve this, please follow these steps:
- Create a new project.
- Add the ESP-IDF "components" folder as a virtual folder to the newly created project.
- Press Command+Shift+T or Command+Shift+R.
- You should now be able to browse the ESP-IDF component files.
- You can also search for a particular function or keyword using the Search menu from the toolbar.

To create a virtual folder
- New > Folder > Click on "Advanced" > Choose "Link to Alternative Location(Linked Folder)"
- Click on Browse and choose the esp-idf components folder

I suggest doing this in a new project instead of your current one to avoid unnecessary Git files and error markers created by the indexer for the components folder.
Screenshot 2024-10-08 at 5.14.40 PM.png
Screenshot 2024-10-08 at 5.14.40 PM.png (1.43 MiB) Viewed 664 times
I hope that helps.

Re: Code/TExt search in Eclipse IDE

Posted: Wed Oct 09, 2024 1:36 pm
by benrank
Thank you very much, that was exactly what I was looking for :D !

regards, Benedikt