Hacker GitHub

← All repos

rizsotto/Bear

View on GitHub ↗ ★ 6,536 Rust

Generate compile_commands.json for any C or C++ build

15 mentions on Hacker News by 14 people: 3 stories, 12 comments · first 2016-05-27 · latest 2026-05-18

Mentions per year 15 mentions · busiest year 2021 (4)
20082026
  1. Almost the same emoticon logo too. ʕ•ᴥ•ʔ Bear vs. ʕ·ᴥ·ʔ Build EAR The compilation database tool ( https://github.com/rizsotto/Bear ), is extremely helpful. It got CCLS/clangd working for me over multiple in-house build systems at a vfx…
    comment by timeforcomputer · 2025-09-02 · in Bear is now source-available
  2. He talks about his blogging software bearblog. Bear is still here https://github.com/rizsotto/Bear and open source
    comment by rurban · 2025-09-01 · in Bear is now source-available
  3. …for the compilation databases that work with Makefiles and other build systems, like Bear: https://github.com/rizsotto/Bear
    comment by ReleaseCandidat · 2024-09-30 · in Visual Studio Code is designed to fracture (2022)
  4. …my configs if that helps. [0] https://clangd.llvm.org/ [1] https://github.com/joaotavora/eglot [2] https://github.com/rizsotto/Bear
    comment by vsundar · 2023-09-09 · in How to Learn Emacs (2012)
  5. …uses meant configuring it manually. Not sure if I understand this right, but have you heard of https://github.com/rizsotto/Bear ? It intercepts compilation calls to generate a clang compilation database used by C and C++ LSP…
  6. …its configuration step (and remembers it), for other build systems you can use something like bear: https://github.com/rizsotto/Bear .
    comment by Asooka · 2021-05-26 · in Neovim 0.5 is overpowering
  7. …+ clangd (no guide for this, but it should be self-evident from reading the original guide). [1] https://github.com/rizsotto/Bear
    comment by jez · 2021-05-19 · in Definitive Guide to Ruby's C API
  8. …[2] https://releases.llvm.org/12.0.0/tools/clang/docs/LibASTMatc... [3] https://github.com/rizsotto/Bear
    comment by karlding · 2021-04-23 · in Semgrep: Semantic grep for code
  9. It's also a tool that helps generate a JSON compilation database [0] for Clang Tooling. [0] https://github.com/rizsotto/Bear
  10. …commands from Make-based builds, in case you were wondering. I've used it with some success. https://github.com/rizsotto/Bear
  11. https://github.com/rizsotto/Bear/blob/master/README.md Bear do something similar.
  12. For make you could use bear ( https://github.com/rizsotto/Bear ). It allows you to generate a compilation database that is equivalent to that of cmake projects.