This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I was using CCS v11.2 and imported some example projects to try out. One thing I noticed that there is only "Open Declaration - F3" but no "Open Definition" when I right-clicked on the function name. How could I have "Open Definition" back so that I could jump to the source file instead of header file? I tried to rebuild project and index but it didn't work.
Thanks,
Wenkai
Hello,
One thing I noticed that there is only "Open Declaration - F3" but no "Open Definition"
This has been typically the case. There was only an "Open Declaration" option. This option would typically toggle between the source of the function and then the declaration in the header. The path of the source would need to be known to the project. Is the source file in question explicitly part of the project or part of some library?
Thanks
ki
That is an include path. But how is that source being linked to the project? When you build, that file compiled and and object file generated? Or is it part of a library that is getting linked in?
I believe it is part of the library coming with sdk package.
You will need to specify the source path for the indexer to pick it up.
For CCS 11.2, it shoulld be under:
Note that you will need to expose the "advanced setting" my toggling the option in the lower left corner of the dialog.
Thanks
ki