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.
Tool/software: Code Composer Studio
Hello,I have a problem of code browsing using CCS. I can get a closing hint at the end of the function or loop using Source Insigh .
But I can't find a similar feature on CCS. If the code is too long, it's hard for me to know where the previous loop or function ends.
Can you give some suggestion ? My CCS Version is 9.2.0.
Tanks
There is no featue exactly like that in CCS. There are some other things that may be helpful for you.
Highlighting range of function
Here I put my cursor on line 47 and it shows you the blue virtical bar in the selection margin (left of line numbers) that indicates the range of the function. i.e. lines 47-50
Highlight matching brackets
Here I put my cursor on line 109 which is the end bracket for the while() loop. You can see that on line 97 it has drawn a box around the matching bracket.
You can also use the function listing in the project explorer or outline view to do the highlighting for you. Here I have double clicked on the function john() in the project explorer and it has highlighted this function in the editor.
There is an additional feature called folding that you can enable.
Regards,
John
Dear John
Thank you for your reply. Your advice has given me some help. I still have some questions about the folding function, and I enabled the folding features (#if/#endif if/else)on my CCS.
But I didn't see any changes in the loop (#if/#endif if/else).IS this a bug or my understanding of the feature is wrong?