CODECOMPOSER: CCS20.1.0 cannot display a project if the project folder starts with a dot

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: CC2340R5

Tool/software:

My customer has a requirement to put the CCS project files(.project, .cproject, .ccsproject) into a folder starting with a dot, for example, .demo_project. But in CCS20.1.0, the project will not display if a project folder starts with a dot.

I tried following steps to reproduce this issue:

1. Import a project from any SDK, for example, empty_LP_EM_CC2340R5_freertos_ticlang from simplelink_lowpower_f3_sdk_8_40_02_01. The project shows correctly in CCS:

2. Add a dot to the beginning of the project folder name, the project will disappear from CCS:

  

3. In CCS, import the project to its original location again. After this step, the project is sill not showed in CCS:

  

4. However, at this moment this project can be built with Project -> Build All menu, which demonstrates the project actually exists.

Is this a bug or a known behavior? Is CCS supposed to support a project folder with a dot at the beginning? My customer is blocked at this, they would like to know if this can be fixed quickly, or should they consider other work around.

Thanks.

Best regards,

Shuyang

  • Hi Shuyang,

    The default behavior is to hide anything that starts with "." in the Explorer view. You can disable this by adding this setting.json file.

    Fullscreen
    1
    2
    3
    "files.exclude": {
    ".*": false
    },
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    The setting.json file can be open using this shortcut.

     .

    This is what it looks like in the Explorer view after you enable disable the file exclude setting.

    Regards,
    Patrick

  • Hi Patrick,

    It works, thanks!

    Best regards,

    Shuyang