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. ▲ 1
    Bear generates a compilation database for Clang tooling
    story by fanf2 · 2026-05-18 · 0 comments
  2. 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
  3. 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
  4. ▲ 47
    Bear is a tool that generates a compilation database for Clang tooling
    story by nateb2022 · 2024-10-09 · 22 comments
  5. …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)
  6. …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)
  7. ▲ 1
    Bear is a tool that generates a compilation database for Clang tooling
    story by limoce · 2022-07-09 · 0 comments
  8. …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…
  9. …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
  10. …+ 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
  11. …[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
  12. It's also a tool that helps generate a JSON compilation database [0] for Clang Tooling. [0] https://github.com/rizsotto/Bear
  13. …commands from Make-based builds, in case you were wondering. I've used it with some success. https://github.com/rizsotto/Bear
  14. https://github.com/rizsotto/Bear/blob/master/README.md Bear do something similar.
  15. 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.