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.

CCS: Searching help/techniques? Way to Search through "Includes" files?

Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Hello CCSTUDIO Team!

I've long used the File Search as part of the Search Tool (CTRL + H). I was wondering is there any way to have this search go through the Includes section of my project as well?

Is there another thread or FAQ on searching? (especially concerning the Search Tool?)

I'm using CCSTUDIO 8.3.1 because that is what is required from mmWave Team.

Cheers,

Akash

  • Akash,

    The "File Search" is pretty limited in the information that it draws on to find matches.

    Here is a simple project with a single source file that includes 2 header files.  These header files are not directly in my project and are only referenced via the compiler search path.  The icons on the editor tabs that show the folder with the .h also let us know this.

    If I try to do a file search for something that is in one of these header files I will not get any hits:

    However if I do a C/C++ Search instead this uses the structure of my project including the #include statements (and corresponding search path) when doing the search.  Here the search finds the reference in the header file:

    Note that since this is a language based search it is not good for finding matches that are in comments.

    Regards,

    John

  • Awesome thanks John!

    Cheers,

    Akash