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/TM4C1237H6PZ: Header file completion issue on TM4C123x parts under CCSv7.2.00xx

Part Number: TM4C1237H6PZ

Tool/software: Code Composer Studio

Hi Support,

I have a problem with the completion in the header files of a C/C++ project in Code Composer Studio
Basically, completions are available in .c or .cpp files, but do not work in the associated .h files. As additional info, (for #include only) in the header file .h, only the files present in its same folder seems to be listed by the indexer.

Here below an example of what I mean:

- in the test.c file, hitting CTRL+SPACE a list of completions appears
- in the test.h file, hitting the CTRL+SPACE the completions do not appear and "No completions available" is visible in the bottom left corner.


How can I have completions available in the headers files too?

I am running Code Composer Studio Version: 7.2.0.00013, and test is a newly created project for the TM4C1237H6PZ in a newly created workspace

The same seems to happen to my collegues operating with the Code Composer Studio

The same seems not to happen in eclipse Photon 4.8.0M6

Notes:
- I already searched the forums for Code Composer Studio and eclipse
- I already tried all that I could in the indexer and completions options of the Code Composer Studio, but had no success
- this issue seems very similar to mine: https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/387376/1373367
- I believe it is me missing something as I cannot believe this issue would have not been raised by other users before.  

Thanks for your help

Regards,

Alberto

  • Alberto,

    I see the same behavior as you with CCS 7.4 as well as an older CCS 6.1.0. So I suspect it has been this kind of behavior for some time now.

    I am not sure yet if it is a feature of Eclipse (it seems so since it has been like this for a while), but I will try to do some more research on it and see if I can find out more information.
  • Aarti,

    No, in the standard distributions of eclipse CDT (photon june 2018 at least for sure, but even older version for what I can remember) the indexer works fine in the header files too. So I would say this is not related to Eclipse itself.
    Look forward to see the outcome of your investigations.

    Thanks and regards,
    Alberto
  • Alberto,

    I couldn't find any additional details about this, but if it works on stock Eclipse as you say, then it is likely a bug in CCS. I have filed CCSIDE-3307 so it can be investigated. Feel free to track its status using the SDOWP link in my signature.