Include-what-you-use: A tool to analyze includes in C and C++ source files

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • include-what-you-use

    A tool for use with clang to analyze #includes in C and C++ source files

    Take note:

    > CAVEAT

    > This is alpha quality software -- at best (as of July 2018). It was originally written to work specifically in the Google source tree, and may make assumptions, or have gaps, that are immediately and embarrassingly evident in other types of code.

    > While we work to get IWYU quality up, we will be stinting new features, and will prioritize reported bugs along with the many existing, known bugs. The best chance of getting a problem fixed is to submit a patch that fixes it (along with a test case that verifies the fix)!

    https://github.com/include-what-you-use/include-what-you-use...

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • signal-temporal-logic

    Discontinued A library for efficiently working with Signal Temporal Logic (STL) and its quantitative semantics. Has Python bindings!

  • clangd

    clangd language server

    In most cases, what you are looking for is a language server like `clangd` (works for most compilers) [1].

    You can find a Language Server Protocol implementation for your editor at [2] (I don't think it lists __all__ clients, but it should include the most popular ones).

    [1]: https://clangd.llvm.org/

  • coc-clangd

    clangd extension for coc.nvim

    Thanks! I read about using LSP/Clangd with vim via [coc](https://github.com/clangd/coc-clangd) and I think that's the path I'll try going down.

    Other responses, thanks for your input. Just want to clarify that I have tried VS and VSCode with limited success (sometimes search works, sometimes it doesn't, and my biggest gripe is an occasional lack of transparency into what's going on under the cover).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to get this macro test and some automatic different syntax highlight when writing c in Neovim like VS Code?

    3 projects | /r/neovim | 29 Jul 2022
  • COC is neglecting to show me error messages that other IDEs (Even code pen does?)

    3 projects | /r/vim | 21 Feb 2021
  • Speeding up C++ build times

    6 projects | news.ycombinator.com | 28 Apr 2024
  • Configure clangd in eglot to not add headers?

    1 project | /r/emacs | 9 Dec 2023
  • A little help for a C++ newbie

    1 project | /r/cpp_questions | 4 Oct 2023

Did you konow that C++ is
the 7th most popular programming language
based on number of metions?