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.

C/C++ Search ignores characters

Hi,

I am using CCSv6 and noticed that certain characters are ignored when searching with "C/C++ Search".

For instance if I copy or type int MMUInit(SYS_MMU_ENTRY mmuEntries[])  the search string mutates into intMMUInitSYS_MMU_ENTRYmmuEntries.

I.e. it is not possible to use search strings that contain characters like (, ), [, ]; space and $.

Is there something I can do about it? Modify any settings for instance?

Thank you.

Martin H.

  • Yes, this really happens (I don't know the reason behind this). Use 'File Search' instead, it's able to search with spaces and other symbols.

    J

  • Martin H. said:
    I am using CCSv6 and noticed that certain characters are ignored when searching with "C/C++ Search".

    I can't find any documentation for this - but believe it is a limitation due to the C/C++ search in Eclipse being designed to only search for valid C/C++ identifier names.

    [A stock Eclipse 3.6.1 has slightly different behaviour from CCSv6 in that Eclipse 3.6.1 allows any characters to be pasted into the C/C++ search "search string" but only allows characters which are valid for C/C++ identifier names to typed into the search string text box in the C/C++ search dialog]

    If you want to search for arbitrary character strings, use the File Search.

  • So we have to come to terms with that until TI has found a way to modify that, I'm afraid.

    Thank you.

    Martin H.