A VS Code extension by TSDB2 to run IWYU on C++ files.
Currently under development and not yet published.
This extension requires that your build setup generates a
JSON compilation database. If you use
Bazel you can try comp_db_hook to generate it and keep it
up-to-date at every build.
Clone the repository and cd into it.
Install the dependencies:
vscode-iwyu$ npm installCompile and package the extension:
vscode-iwyu$ npx vsce packageThen open VS Code, hit Ctrl+Shift+X to navigate to the extensions page, click "Install from VSIX..."
in the menu, and pick the .vsix file generated by vsce.