The extension quietly does not add diagnostics. The problem is that it fails to parse the JSON output. Here is example bad output:
"[{\"file\":\"/home/brendan/repositories/tracking-analyzer/tracking-analyzer/tracking-analyzer-gui/application.h\",\"line\":4,\"column\":0,\"severity\":\"information\",\"message\":\"Include file: \"tracking-analyzer/dataset.h\" not found.\",\"id\":\"missingInclude\"},\n{\"file\":\"/home/brendan/repositories/tracking-analyzer/tracking-analyzer/tracking-analyzer-gui/application.h\",\"line\":5,\"column\":0,\"severity\":\"information\",\"message\":\"Include file: \"tracking-analyzer/tracking_results.h\" not found.\",\"id\":\"missingInclude\"},\n{\"file\":\"/home/brendan/repositories/tracking-analyzer/tracking-analyzer/tracking-analyzer-gui/application.h\",\"line\":6,\"column\":0,\"severity\":\"information\",\"message\":\"Include file: <QApplication> not found. Please note: Cppcheck does not need standard library headers to get proper results.\",\"id\":\"missingIncludeSystem\"},\n{\"file\":\"/home/brendan/repositories/tracking-analyzer/tracking-analyzer/tracking-analyzer-gui/application.h\",\"line\":7,\"column\":0,\"severity\":\"information\",\"message\":\"Include file: <QImage> not found. Please note: Cppcheck does not need standard library headers to get proper results.\",\"id\":\"missingIncludeSystem\"},\n{\"file\":\"/home/brendan/repositories/tracking-analyzer/tracking-analyzer/tracking-analyzer-gui/application.h\",\"line\":8,\"column\":0,\"severity\":\"information\",\"message\":\"Include file: <QSettings> not found. Please note: Cppcheck does not need standard library headers to get proper results.\",\"id\":\"missingIncludeSystem\"},\n{\"file\":\"/home/brendan/repositories/tracking-analyzer/tracking-analyzer/tracking-analyzer-gui/application.h\",\"line\":9,\"column\":0,\"severity\":\"information\",\"message\":\"Include file: <gsl/pointers> not found. Please note: Cppcheck does not need standard library headers to get proper results.\",\"id\":\"missingIncludeSystem\"},\n{\"file\":\"/home/brendan/repositories/tracking-analyzer/tracking-analyzer/tracking-analyzer-gui/gui/main_window.h\",\"line\":4,\"column\":0,\"severity\":\"information\",\"message\":\"Include file: \"color.h\" not found.\",\"id\":\"missingInclude\"},\n{\"file\":\"/home/brendan/repositories/tracking-analyzer/tracking-analyzer/tracking-analyzer-gui/gui/main_window.h\",\"line\":5,\"column\":0,\"severity\":\"information\",\"message\":\"Include file: <QMainWindow> not found. Please note: Cppcheck does not need standard library headers to get proper results.\",\"id\":\"missingIncludeSystem\"},\n{\"file\":\"/home/brendan/repositories/tracking-analyzer/tracking-analyzer/tracking-analyzer-gui/gui/main_window.h\",\"line\":6,\"column\":0,\"severity\":\"information\",\"message\":\"Include file: <vector> not found. Please note: Cppcheck does not need standard library headers to get proper results.\",\"id\":\"missingIncludeSystem\"},\n{\"file\":\"/home/brendan/repositories/tracking-analyzer/tracking-analyzer/tracking-analyzer-gui/gui/main_window.h\",\"line\":34,\"column\":10,\"severity\":\"error\",\"message\":\"There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it.\",\"id\":\"unknownMacro\"}]"
The problem with this example is quotation marks in the missing include file paths. They break JSON parsing.