title: Visual Studio Code Intellisense and includePath
body: <p>I'm using the latest version of Visual Studio Code with the C/C++ extension on Linux. I'm trying to figure out why it is having problems finding my include files.</p>
  
  <p>In one .c file it shows the following:</p>
  
  <pre><code>#include "tournament.h"
  #include "layout.h"
  #include "random.h"
  #include "paytable.h"
  #include "widgets.h"
  #include "sound.h"
  #include "leaderboard.h"
  </code></pre>
  
  <p><code>tournament.h</code> and <code>sound.h</code> are highlighted saying Code can't find these files even though they are in the same directory as the other included files.</p>
  
  <p>I've gone into c_cpp_properties.json and edited the Linux section and added include path directories as follows:</p>
  
  <pre><code>{
      "name": "Linux",
      "includePath": [
          "/home/jnorton/build.kgisystems/src/svn/tournament/trunk",
          "/usr/include/atk-1.0",
          "/usr/lib64/gtk-2.0/include",
          "/usr/include/glib-2.0",
          "/usr/include/gtk-2.0",
          "/usr/local/include",
          "/usr/include",
          "/usr/include/bits",
          "/usr/include/c++/7",
          "${workspaceRoot}",
          "/usr/include/c++/7/tr1",
          "/usr/include/c++/7/x86_64-redhat-linux",
          "/usr/include/gdk-pixbuf-2.0",
          "/usr/include/pango-1.0",
          "/usr/include/cairo"
      ],
      "defines": [],
      "intelliSenseMode": "clang-x64",
      "browse": {
          "path": [
              "/home/jnorton/build.kgisystems/src/svn/tournament/trunk",
              "/usr/include/atk-1.0",
              "/usr/lib64/gtk-2.0/include",
              "/usr/include/glib-2.0",
              "/usr/include/gtk-2.0",
              "/usr/local/include",
              "/usr/include",
              "/usr/include/bits",
              "/usr/include/c++/7",
              "${workspaceRoot}",
              "/usr/include/c++/7/tr1",
              "/usr/include/c++/7/x86_64-redhat-linux",
              "/usr/include/gdk-pixbuf-2.0",
              "/usr/include/pango-1.0",
              "/usr/include/cairo",
              "/home/jnorton/build.kgisystems/src/svn/tournament/trunk"
          ],
          "limitSymbolsToIncludedHeaders": false,
          "databaseFilename": ""
      }
  },
  </code></pre>
  
  <p>I've followed the <a href="https://github.com/Microsoft/vscode-cpptools/blob/master/Documentation/LanguageServer/FAQ.md#why-do-i-have-red-underlines-everywhere-after-updating-to-the-latest-version" rel="nofollow noreferrer">guidelines</a> and Intellisense is still not working properly.</p>
  
  <p>What am I missing?</p>