Saw this in the context of #3204 (comment) . We recently added support for this when specified in c_cpp_properties.json with #5908 , but this is not yet supported in a compile_commands.json. Unclear if this is required for custom config providers as well, but handling this in the native process could address all cases.