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.2.0 - Project Explorer - open function in context menu has disappeared for some files

Hello

See below the 2 examples :
- for the .c file, it's possible to click on "Open" or "Open With",
- for the .tcf file, no menu "Open" or "Open With".

This is not limited at the .tcf files but the problem is the same for a Makefile file, .txt files, ...

What is the reason and how can I fix this ?

Thanks

  • Hi David,

    file association seems to have gotten screwed up. Could you try a new workspace and see if that helps?

    Thanks

    ki

  • Is the list of associations with *.cfg blank for you?

  • Ki-Soo Lee said:
    file association seems to have gotten screwed up. Could you try a new workspace and see if that helps?

    Hi Ki-Soo

    The problem remain exactly the same if I create a new workspace.

    Regards

  • Hi John

    I have the same associations with *.cfg than you.
    But I don't know if I have a problem with .cfg files, I work with DSP/BIOS 5.
    However, I can't open .tcf file with the context menu even if the associations with *.tcf seems to be correct.

    Regards

  • My associations for .tcf are actually the reverse of what you have for me the DSP/BIOS Configuration tool is the default.  It is a GUI for editing the file vs the plain text editor.  Try switching the default to see if it makes a difference.

    Still doesn't explain why the menu is not there for you.  We can ask around a bit and see if there is a way to control that.

    John

  • Hi John

    I understand what you said but I prefer to edit the .tcf file in the text editor.

    And I want you to remember that the .tcf file is not the only one where I don't have the good context menu (.txt, Makfile, ...).

    Regards

  • David,

    Can you open the Error Log View.  View -> Other.  Then type Error in the filter box to find it.  Then try to right click so the menu gets constructed.  There is a thought that maybe an exception is being thrown when the menu is being created.  Hopefully the error log can show what is throwing it.  The files that don't have the menu likely have the same editor associated with them that is throwing the exception.

    From the Error log view you can view the errors and you can also click on a button to export them to a file which you can zip and attach here.

    Regards,

    John

  • John,

    There is no exception or nothing else that appears in the Error Log view when I right click on any files.

    Regards

  • I am starting to run out of ideas.  So in summary for any file that has the Text Editor as the default association it fails.  Can you try adding an association for *.tcf for the C/C++ Editor and then make it the default.  It will try to use C/C++ syntax highlighting so it may look a little bit funny but otherwise should be fine.  If that works then at least we have a workaround. 

    John

  • Hi John

    Nothing change if I associate the *.tcf file to the C/C++ Editor : I don't have the "Open" or "Open With" in the context menu of this kind of files.

    PS : Another information that I forgot to write, I 'm not able to open this files also by double click.

    Regards

  • HI David,

    Looks like you are using version control. Which one are you using? CVS?

    ki

  • Hi Ki-Soo,

    Yes, we are using version control. We use SVN.
    My colleagues use the same configuration and they don't have the problem to open any files.

    Regards