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.

Key symbol in icon

Hello,

Does anyone knows what the key symbol (probably icon decoration, please see picture below) means? Could not find it in a eclipse help. It appears in CCS V5.1 as well as in CCS V5.2. File is not write protected.

Thanks.

Best regards,
Patrick

  • Patrick,

    It means there are file specific options set for the file.  I.e. the build options for that file are different than the project level options.

    Regards,

    John

  • I have the same issue, but as far as I can tell, I have restored defaults, and hence I would have thought the file options are now the same as the project level options, but the key symbol remains.

    What am I doing wrong?

    (PS Edit: I tried to upload a picture of the dialog box, but it hasn't appeared).

    Thanks

    Richard

  • Hi Richard,

    Try right-clicking on the file and in the context menu, select 'Resource Configurations->Reset to Default'

    Thanks

    ki

  • Hi Ki

     

    That did the trick, but could you tell us exactly what that is doing? I'm not a fan of GUI's hiding the underlying workings in such cases, so I'm curious.

     

    Many thanks for the answer,

    Richard

     

  • Richard Hutchings said:
    That did the trick, but could you tell us exactly what that is doing?

    When you add file specific options, it will add a section in the project metadata files to indicate that there are file specific for that specific file and what default options to override. When you use the 'Resource Configurations->Reset to Default' option on the file, you are removing that whole section. Hence the project sees it as not having any file specific options in the project anymore and the special icon is removed for that file.

    The 'Restore Defaults' options in the file properties dialog for the file does not remove the icon because while the override options are removed (hence no default options will be overridden), that special section for the file is still there. It just doesn't have any options to override so it will use the defaults. Basically it is not really doing anything but because of the simple existence of the section, CCS will say there are file specific options for that file and keep the special icon there.

    Hope that clears things up.

    ki

  • Thanks very much for explaining Ki.

    It is always better to understand what the system is doing, rather than trying to learn what buttons to press by rote, and you've helped along the right path.

    Thanks again

    Richard