-
Enhancement
-
Resolution: Unresolved
-
Medium
-
Code Composer Studio Theia
-
CCSNXT-1585
-
CCS_THEIA_1.4.0
-
None
CCS currently uses the third-party "vscode-clangd" extension, which works with limitations:
- It does not handle linked files/folders - many SDKs link source-files
- It uses a standard clangd server, not the TI-specific clangd server that comes with TIClang compilers
- It uses a single global instance of clangd server, not a per-project instance that comes with the per-project selected version of the compiler (related to point #2)
- It's very buggy - error messages get printed to browser console. Several workarounds were implemented to avoid these bugs - these workarounds would need to be cleaned up once we implement our own integration
Point #1 is the main limitation.
To overcome these limitations we'd have to implement our own clangd server integration with the IDE. Not all TIClang compilers come with a clangd server (e.g. Arm), so we might need to default to a third-party clangd server if the currently selected compiler does not include clangd.