title: How to configure the local host VS Code to use the server-side Clang library?
body: <p>I installed the clang development environment on the server, and the include path is as follows:
  <code>~/llvm/include</code>
  Below is the code I use ASTMatchers and LibTooling, I only show the header file information：</p>
  <pre><code>#include &quot;clang/Frontend/FrontendActions.h&quot;
  #include &quot;clang/Tooling/CommonOptionsParser.h&quot;
  #include &quot;clang/Tooling/Tooling.h&quot;
  #include &quot;llvm/Support/CommandLine.h&quot;
  #include &quot;clang/ASTMatchers/ASTMatchers.h&quot;
  #include &quot;clang/ASTMatchers/ASTMatchFinder.h&quot;
  #include &quot;clang/Basic/SourceLocation.h&quot;
  #include &lt;iostream&gt;
  #include &lt;stdio.h&gt;
  
  using namespace std;
  using namespace clang::tooling; //this line tips: &quot;clang&quot; has no member &quot;tooling&quot;
  using namespace llvm;
  using namespace clang;
  using namespace clang::ast_matchers; //this line tips: &quot;clang&quot; has no member &quot;ast_matchers&quot;
  </code></pre>
  <p>I can successfully build a custom tool on the command line interface through make, but I want to use VS code to connect to the server, and then write the code locally, so how to solve the above problem? Another question is how should the VS code of my local host be configured to realize the code Clang library code auto-completion function?</p>
  <p>Below is the configuration of my local host VS Code:</p>
  <pre><code>{
  &quot;configurations&quot;: [
      {
          &quot;name&quot;: &quot;Linux&quot;,
          &quot;includePath&quot;: [
              &quot;${workspaceFolder}/**&quot;,
              &quot;${workspaceFolder}/llvm/include/**&quot;
          ],
          &quot;defines&quot;: [],
          &quot;compilerPath&quot;: &quot;/usr/bin/gcc&quot;,
          &quot;cStandard&quot;: &quot;gnu11&quot;,
          &quot;cppStandard&quot;: &quot;gnu++98&quot;,
          &quot;intelliSenseMode&quot;: &quot;linux-gcc-x64&quot;,
          &quot;browse&quot;: {
              &quot;limitSymbolsToIncludedHeaders&quot;: false
          }
      }
  ],
  &quot;version&quot;: 4
  </code></pre>
  <p>}</p>