2024-02-12 07:16 AM
When I tried to open the declaration, to see how function works, STM32CUBE IDE does not automatically open the respective .c files in which function declarations exist.
Could you pls point me to the right direction ?
Solved! Go to Solution.
2024-02-12 01:05 PM
You can also try Project -> C/C++ Index -> Rebuild Index.
If your project doesn't build, fix that first. Your main.c is modified and not saved, could also be causing issues.
2024-02-12 07:20 AM - edited 2024-02-12 07:21 AM
Hello,
Click "Ctrl" key and click on the API you need to show the declaration. But you need to compile the project before.
2024-02-12 07:23 AM
Unfortunately, that didnt work. Maybe, it is due to scalability settings etc. The .c file I am trying to achieve via open declaration is too big, if thats the case, how can I change it ?
2024-02-12 07:24 AM
> When I tried to open the declaration
What exactly did you do?
If you right-click on the function name then select "Open Declaration" from the pop-up menu, that should take you to the function. Or function key F3 also does that (at least in the older CubeIDE version I am running at the moment).
2024-02-12 01:05 PM
You can also try Project -> C/C++ Index -> Rebuild Index.
If your project doesn't build, fix that first. Your main.c is modified and not saved, could also be causing issues.
2024-10-07 11:27 PM
This normally works for me. But not today.
Restarted CubeIDE- started working again.
*shrugs*