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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Implemented
    • Priority: Medium
    • Code Composer Studio Theia
    • CCSNXT-1585
    • CCS_THEIA_1.4.0
    • CCS_20.2.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.

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-4678 - Implement clangd server integration...
                SYNCHRONIZED
                • Last Sync Date: