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 5.1: Eclipse IDE Version and Editor Tweaks (column mode and search)

Hi, I'm using  CCS Version: 5.1.0.09000. I want to enable Column Mode in the text editor.

I found this earlier post about Column Mode : http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/71913.aspx#261188

In there it was stated that "This feature is part of the Eclipse IDE editor and was implemented only in release 3.5 of the IDE"

What version of the IDE is part of CCS 5.1.0? The download page for CCS 5.1.0 just says that it has a recent release of the IDE, it does not give a version number.

From doing a Google search about Eclipse column mode it seems it should be enabled by pressing "Alt+C" or "Alt+Shift+A". Neither of these shortcuts has an effect in the text editor in CCS. How can I access Column Mode? Would I need to use a plug-in?

For the Search functionality, I can't find an option to search for "whole word only", so for example searching for "TITAN" will find that word and also "TITAN_PERIPH_REGS". How can I search for the whole word "TITAN" only.

Thanks,

Annie

  • Annie Mac said:
    What version of the IDE is part of CCS 5.1.0? The download page for CCS 5.1.0 just says that it has a recent release of the IDE, it does not give a version number.

    It uses Eclipse version 3.7.

    Annie Mac said:
    From doing a Google search about Eclipse column mode it seems it should be enabled by pressing "Alt+C" or "Alt+Shift+A". Neither of these shortcuts has an effect in the text editor in CCS. How can I access Column Mode? Would I need to use a plug-in?

    Alt+Shift+A is correct. When your select that while the editor has context, it will toggle to block select mode and you will have the ability to highlight a column by drawing a box in the editor.

    Annie Mac said:
    For the Search functionality, I can't find an option to search for "whole word only"

    There is a radio button:

    Thanks

    ki

  • Ki - thanks for your reply. I can highlight a block and use Column mode now.

    I should have been more clear about my question regarding searching for a whole word only. I am using the "File Search" option which searches through multiple files in the project and this option doesn't have the "Whole word" option available. Perhaps I need to use the "Regular expression" option? I've made some simple attempts at using the Regular expression options shown when I press "Ctrl+Space" but don't see any options which seem to obviously translate to "Whole word only".

    Thanks,

    Annie

  • Annie,

    I usually use the C/C++ Search from the Search Dialog (<Ctrl-H>) to perform source-code searches. As shown in the attached picture, it performs "whole word" searches if no wildcards are used.

    Does that help?

    Regards,

    Rafael

  • Thanks Rafael. The C/C++ search is exactly what I was looking for to search in multiple files.

    Annie.