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.

Compiler/MSP432P401R: Howe to search thru ALL the.c and .h files of a project

Part Number: MSP432P401R


Tool/software: TI C/C++ Compiler

Hi All

If I want to find ALL the instances of a function name or where a defined value was defined and everywhere it was used does Code Composer Studio offer any way to so this or do I have to use a utility like grep to do this?

In MS Visual Studio and Atmel Studio it is called Find In Files.

And yes I read the manual for CCS v8.

Thanks

Chris

  • Hi Chris,

    Chris Humme said:
    In MS Visual Studio and Atmel Studio it is called Find In Files.

    CCS has something similar. You can open it up with the shortcut: Ctrl+H

    thanks

    ki

  • Thanks Ki

    The BEST answer I have gotten from E2E.

    One more question:
    How was anybody supposed to find this?
  • Documentation for it is included in the online Help for CCS (Help -> Help Contents). Searching for "find in files" in the Help Contents dialog is probably the fastest way to get to the documentation.

    Admittedly, it does not help (no pun intended) that our documentation is scattered over multiple resources (wiki, Resource Explorer, CCS help, etc), making collateral difficult to find. The consolidation of our documentation is a constant work in progress that I hope, one day, reaches a state where everything is easy to find.
  • Hi Ki

    First let me say I do appreciate your knowledge, time and effort.
    I am just very frustrated with not being able to find information on things related to programming a MSP432p401R.
    The MSP432 was recommended to me as an introductory launch pad and everything seems to be a mystery.

    I looked again at the CCS Training site link at the bottom of you response and I found Crtl+H for 'find in files' but it was not easy.

    First you have to deselect your device to get Resource Explorer to show CCS Training.
    Then you download a Power Point file on Tips and Tricks for CCSv6 and open that.
    Then you have to know that you are looking for a key stroke combination when you dig into tips and tools.
    Then you learn to go to Windows > Preferences > General > Keys.
    Then for 'find in files' you scroll down to 'Open Search Dialog'

    And this was the best experience I have had so far!

    Is there a better way to find things in the documentation?
    Please
    Pretty Please

    Thanks
    Chris
  • Unfortunately our documentation organization is a work in progress. We eventually want to have a single interface that is easily searchable. The end goal is to use Resource Explorer for this - but as you know, we are not there yet. Sorry for the inconvenience.