Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11839

Implement clangd server integration for source-navigation and auto-complete support

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Medium 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:

      1. It does not handle linked files/folders - many SDKs link source-files
      2. It uses a standard clangd server, not the TI-specific clangd server that comes with TIClang compilers
      3. 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)
      4. 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.

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: