title: Include Linux kernel headers for intellisense in vs code
body: <p>I want to use VS code for developing linux kernel modules. I added the path to my browse path, but unfortunately it's not working.
  Here's my <em>c_cpp_properties.json</em>:</p>
  
  <pre><code>{
      "configurations": [
          {
              "name": "Linux",
              "includePath": [
                  "${HOME}/Workspaces/kernel-sources/mainline/linux/include",
                  "${workspaceRoot}"
              ],
              "defines": [],
              "intelliSenseMode": "clang-x64",
              "browse": {
                  "path": [
                      "${HOME}/Workspaces/kernel-sources/mainline/linux/include/",
                      "${workspaceRoot}"
                  ],
                  "limitSymbolsToIncludedHeaders": true,
                  "databaseFilename": ""
              }
          }
      ],
      "version": 3
  }
  </code></pre>
  
  <p>I want to include like <code>#include &lt;linux/miscdevice.h&gt;</code>but the intellisense parser is unable to find that file. I changed the parser engine to "Tag Parser" because the new default parser is unable to recursive include files, as they are in the kernel sources.
  Any thoughts how to configure my intellisense?</p>
  
  <p>I use vs code 1.19 for ubuntu 16.04</p>