Code/TExt search in Eclipse IDE

benrank
Posts: 4
Joined: Wed Sep 25, 2024 1:39 pm

Code/TExt search in Eclipse IDE

Postby benrank » Mon Oct 07, 2024 8:13 am

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

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Code/TExt search in Eclipse IDE

Postby ESP_kondalkolipaka » Tue Oct 08, 2024 11:45 am

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 1284 times
I hope that helps.

benrank
Posts: 4
Joined: Wed Sep 25, 2024 1:39 pm

Re: Code/TExt search in Eclipse IDE

Postby benrank » Wed Oct 09, 2024 1:36 pm

Thank you very much, that was exactly what I was looking for :D !

regards, Benedikt

Who is online

Users browsing this forum: No registered users and 35 guests