<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/73763>73763</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Clangd: add option to add extensions to getCorrespondingHeaderOrSource 
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          ericfranklin
      </td>
    </tr>
</table>

<pre>
    Would be nice to be able to add header and source file extensions that is it will look for and not just the static one in the function.

In short make these customizable:
``` cpp
llvm::StringRef SourceExtensions[] = {".cpp", ".c", ".cc", ".cxx",
                                        ".c++", ".m", ".mm"};
llvm::StringRef HeaderExtensions[] = {".h", ".hh", ".hpp", ".hxx", ".inc"};
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMUkFvnDwQ_TXmMgoyNizLgUM2-62-nio1h54NHsCJsZE9NGl_fYVJ0t1Krbqylnm2Z_zezFMxmtEhtqw6seqcqZUmH1oMph-Ccs_WuKzz-nv71a9WQ4fgTI9AfgtVZ1OotIYJlcYAymmIfg09wmAsAr4Sumi8i0CTIjARDMGLsRas988w-D3HeYKnNRLQhBBJkenBOwTj0s6wup6MdznjZ8bv9_9PDuLkA8GsnnG7FhH6NZKfzY-NGpNvF9mB7wv6Zdm3rP02b-fy_pGCceMXHOAx8f7vg_HeEmDyDKw-MSHyLV0IJh4goev4Bry-7mh_C_7x91bzlNZHsfk6TqA-M3n6s4z_0yT-JmO6KjndgBt907uMhIzrf3v8o62ZbqVuZKMybIuaF6I8VLLOprZoVMlFUWgpuKgbWZeyKKXkupOF6g4iM63gQhaFaPhRHKs6r3kj66EXheTV4XisWMlxVsbmm9LchzEzMa7Y1rI-yMyqDm1M3hXC4Qukw41mdc5Cu-XcdesYWcmtiRR_VSFDFtsHq9yombxPFvbLZrF3Q18718OI9OBDwLh4p40b9yZ_DrtnIFuDbSeiJW7TEBcmLqOhae3y3s9MXNKc9s_dEvwT9sTEJbGNTFySmp8BAAD__x7qC5s">