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.

CODECOMPOSER: CCS Theia builds projects not-in-workspace

Part Number: CODECOMPOSER

Tool/software:

Hi,

I have difficulties working with the Theia workspaces.

First (but least), I didn't find a way to create blank / empty workspaces.

Secondly (and most importantly), "build all" builds projects that are not in the workspace, which is pretty annoying and waists time. I have created a new workspace by saving the default one as file, and then removing the folder to the default workspace from the newly created workspace. Then I added a folder to the workspace. When I "build all", CCS builds all the projects from both the new workspace and the default workspace.

Any ideas on what could cause that, and how to fix it ?

(CCS Theia v1.4.0)

Thanks in advance,

Adrien

  • Hi Adrien,

    I've brought this thread to the attention of Theia team for further comment.

    Thanks

    ki

  • Hi Adrien,

    Regarding your first question, workspaces in CCS Theia work very similar to how they work in VS Code. If you go to File → Open Folder... and open any folder, that is considered a workspace. There is no way of creating an empty workspace file, since workspaces saved as a file are intended to serve as a collection of 2 or more folders. 
    You can read more about workspaces here: https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs_theia/ccs_project-management.html#workspaces

    Regarding your second question, I tried to reproduce the issue you mentioned. It seems like only projects from the new workspace are being built. You can verify this by looking at the popup message in the bottom right corner which specifies which project is being built.



    There does seem to be a bug in the problems view, which doesn't update when you remove a folder from the workspace. This might be what you are seeing in the problems view in the screenshot you sent.
    We will investigate this issue further.

    Thanks
    Udit 

  • Hi Udit,

    I confirm that "build all" also builds projects from the the default workspace for me.

    It is not just problems view issue. If I clear the problems view, all the issues come back on build (since, as shown on screenshot), projects out-of-workspace are built too.

    Best regards,

    Adrien

  • Hi Adrien,

    After further investigation, I see the same issue you are facing. I have filed a ticket, here is the tracking link: sir.ext.ti.com/.../EXT_EP-11939

    As a temporary workaround, when you added the second folder, adding the parent folder to the project, instead of the project itself seems to work for me. You could try doing this.

    Regards
    Udit