title: VSCode intellisense with C++ headers
body: <p>I have searched for this but I can't find anything. If it's dupe I will close my question without any problem. I have a c_cpp_properties.json configuration file in VSCODE</p>
  
  <pre><code>{
      "configurations": [
          {
              "name": "Mac",
              "includePath": [
                  "/usr/include",
                  "/usr/local/include",
                  "${workspaceRoot}"
              ],
              "defines": [],
              "intelliSenseMode": "clang-x64",
              "browse": {
                  "path": [
                      "/usr/include",
                      "/usr/local/include",
                      "${workspaceRoot}"
                  ],
                  "limitSymbolsToIncludedHeaders": true,
                  "databaseFilename": ""
              }
          },
          {
              "name": "Linux",
              "includePath": [
                  "/usr/include/x86_64-linux-gnu/c++/5",
                  "/usr/include/c++/5",
                  "/usr/local/include",
                  "/usr/include/x86_64-linux-gnu",
                  "/usr/include",
                  "${workspaceRoot}"
              ],
              "defines": [],
              "intelliSenseMode": "clang-x64",
              "browse": {
                  "path": [
                      "/usr/include/x86_64-linux-gnu/c++/5",
                      "/usr/include/c++/5",
                      "/usr/local/include",
                      "/usr/include/x86_64-linux-gnu",
                      "/usr/include",
                      "${workspaceRoot}"
                  ],
                  "limitSymbolsToIncludedHeaders": true,
                  "databaseFilename": ""
              }
          },
          {
              "name": "Win32",
              "includePath": [
                  "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include",
                  "${workspaceRoot}"
              ],
              "defines": [
                  "_DEBUG",
                  "UNICODE"
              ],
              "intelliSenseMode": "msvc-x64",
              "browse": {
                  "path": [
                      "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include/*",
                      "${workspaceRoot}"
                  ],
                  "limitSymbolsToIncludedHeaders": true,
                  "databaseFilename": ""
              }
          }
      ],
      "version": 2
  }
  </code></pre>
  
  <p>I'm developing in Ubuntu 16.04. The problem that I'm facing is that when I type in my .cpp files intellisense for headers are not working.</p>
  
  <pre><code>MyFooClass.h
  #pragma once
  
  #include &lt;cstddef&gt;
  #include &lt;fstream&gt;
  #include &lt;string&gt;
  
  class MyFooClass
  {
  private:
      //My private fields
  
  public:
      MyFooClass();
      virtual ~MyFooClass();
      bool MyFooFunction();
  };
  </code></pre>
  
  <p>When I implement MyFooClass.cpp using</p>
  
  <pre><code>#include "MyFooClass.h"
  </code></pre>
  
  <p>Intellisense is not working for functions and data in .h It seems to me that this should be enabled in by default in my configuration but I dont know if I must add something new. Thank you very much.</p>