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.

Renaming files in CCS breaks includes

When a user right clicks a file in CCS and then renames the file,  CCS tries to help by renaming any includes that reference the file.  The problem is when CCS does this, it moves the changed include reference to be the first include in a file.

In my experience this has the effect of completely breaking a project.  Most of the time I'll pull in the C2000 device support includes first so I have access to things like stdint.  Now my project has a bunch of includes before the device support includes and all my application header files which use stdints are throwing errors.

Not a huge deal, but I think its an important piece of feedback that if fixed would improve user experience.

Best,

Trey

  • Hi Trey,

    I've noticed this behavior also. I don't see an option in CCS to tweak the refactoring settings, though I'll keep looking. Perhaps there is an Eclipse plugin. 

    Thanks for the feedback. The refactoring functionality is something that we inherited from Eclipse/CDT hence any fix for it will need to come from the Eclipse community. This is something we have limited control over so I can't promise anything.

    ki

  • Gotcha, yeah I figured this was an eclipse thing but thought I'd ask.  Not sure how eclipse manages their software, but maybe it's worth filing a bug with them?