When working in a ROS Catkin workspace, intellisense is able to find all my header files, yet clang complains that it cannot find them. It does not complain about std headers such as vector or sstream but it cannot find ros specific header files.
{
"configurations": [
{
"browse": {
"databaseFilename": "",
"limitSymbolsToIncludedHeaders": true
},
"includePath": [
"/home/ftb/catkin_ws/devel/include/**",
"/opt/ros/melodic/include/**",
"/usr/include/**"
],
"name": "ROS"
}
],
"version": 4
}
{
"python.autoComplete.extraPaths": [
"/home/ftb/catkin_ws/devel/lib/python2.7/dist-packages",
"/opt/ros/melodic/lib/python2.7/dist-packages"
],
"python.pythonPath": "/usr/bin/python",
"files.associations": {
"vector": "cpp"
}
}
{
"python.showStartPage": false,
"python.languageServer": "Microsoft",
"workbench.editorAssociations": [
{
"viewType": "jupyter.notebook.ipynb",
"filenamePattern": "*.ipynb"
}
],
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"[cpp]": {
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"clang-tidy.fixOnSave": true,
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"workbench.iconTheme": "vscode-icons",
"clang-tidy.compilerArgs": [ "-p /home/ftb/catkin_ws/build"
],
"clang-tidy.compilerArgsBefore": [
"-p /home/ftb/catkin_ws/build"
]
}