compiledb
run-clang-format
compiledb | run-clang-format | |
---|---|---|
6 | 1 | |
1,406 | 245 | |
2.1% | - | |
0.0 | 0.0 | |
5 months ago | over 1 year ago | |
Python | Python | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
compiledb
-
Eglot + clangd not working for NetHack code base
An update: I am now able to make everything work by generating `compile_commands.json` using compiledb. I'm aware that there is another tool Bear but for some reason it generates an empty `compile_commands.json` file for me.
-
STM32CubeIDE extract compile_commands.json
I have tried compiledb as well, but it currently fails to correctly get the backslashes correctly on Windows, as noted in this issue.
-
Lsp-mode when I can't generate compile_commands.json
There is also this tool which claims to support Windows. However:
-
clangd beginner problem
There is also compiledb https://github.com/nickdiego/compiledb that works directly with your make file to generate the compile_commands.json.
-
How can I get vim-lsp to recognize OpenCV?
Have you generated a compile_commands.json? They're necessary for your LSP provider to know which paths to search for headers. They're generated by default if you're using CMake (I believe), otherwise check out compiledb or Bear.
-
CLion users: Is CLion a good choice for development in an old project that can only be built with a complicated mess of makefiles?
If you can get compiledb to work with your make project and generate the correct file, it should be able to figure out project quite well
run-clang-format
What are some alternatives?
Bear - Bear is a tool that generates a compilation database for clang tooling.
pre-commit-hooks - C/C++ hooks to integrate with pre-commit
conan - Conan - The open-source C and C++ package manager
cake - Cake a C23 front end and transpiler written in C
scan-build - Clang's scan-build re-implementation in python
cpp-linter-action - A Github Action for linting C/C++ code integrating clang-tidy and clang-format to collect feedback provided in the form of file-annotations, thread-comments, workflow step-summary, and Pull Request reviews.
gcovr - Generate code coverage reports with gcc/gcov
clang-static-binaries - clang-static-binaries
pmbuild - A simple, configurable and extendible build system for gamedev.
StaticAnalysis - GitHub action performs static analysis on C++/Python code, flags issues, and posts comments directly on PRs.
Cython - The most widely used Python to C compiler
codechecker - CodeChecker is an analyzer tooling, defect database and viewer extension for static and dynamic analyzer tools.