Skip to content

tsdb2/vscode-iwyu

Repository files navigation

vscode-iwyu

License: MIT

Overview

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.

Installation

Clone the repository and cd into it.

Install the dependencies:

vscode-iwyu$ npm install

Compile and package the extension:

vscode-iwyu$ npx vsce package

Then 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.

About

IWYU extension for VS Code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published