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 c_cpp_properties.json:
{"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}
I want to include like #include <linux/miscdevice.h>
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?
I use vs code 1.19 for ubuntu 16.04