vscode-clangd
cmake-init
vscode-clangd | cmake-init | |
---|---|---|
3 | 164 | |
569 | 1,842 | |
3.2% | - | |
6.4 | 8.1 | |
11 days ago | 23 days ago | |
TypeScript | CMake | |
MIT License | GNU General Public License v3.0 only |
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.
vscode-clangd
-
How to get this macro test and some automatic different syntax highlight when writing c in Neovim like VS Code?
Thanks for your reply, maybe I should go to vscode-clangd community to try to find out how they implement this:)
-
Currently, what are some of the worst things about C++?
But I will say that I am mostly happy with either one of the clangd and ccls plugins. The clangd plugin is nicely packaged with a self-installer. The ccls plugin takes a little more work to set up, but it has loads more features. Both are quite good at working with a proper AST. Both build the AST by actually compiling your code with libclang (llvm's compiler core). Both work reliably for me because I am able to provide a compile_commands.json using my project builder (ninja). Nice as it is, it does not update automatically, and I'm not sure I want it to.
-
What are some open source apps that are actually terrible for privacy?
For C# there is https://github.com/muhammadsammy/free-omnisharp-vscode for Python there is https://github.com/Microsoft/pyright (Pylance is the proprietary counterpart) for C++ there is https://github.com/clangd/vscode-clangd
cmake-init
-
CMake install schema for single- and multi-config generators
https://github.com/friendlyanon/cmake-init This is how you do CMake properly. If you deviate from its install rules you are highly likely to do something wrong.
-
cgen: another declarative CMake configuration generator
CMake itself is as declarative as a build systems need to be. For anything nontrivial, these "declarative" solutions all fall apart. Just use https://github.com/friendlyanon/cmake-init, learn CMake and you won't have any issues.
-
How does one actually build a C++ project
If you want something with a (mostly) Just Works experience then just use https://github.com/friendlyanon/cmake-init
- CMakeList.txt, add_executable vs. add_library vs. target_link_libraries vs. target_link_directories
- Check out my tasks.json for C++ of VScode
- Clang++ Halp
-
Putting libraries in program folder
For CMake basics check out the official "Getting started" tutorial: https://cmake.org/cmake/help/latest/guide/tutorial/index.html, as well as Introduction to Modern CMake. You can also get inspired by the CMake project generator cmake-init
- Recourses to help understand libraries/projects and setting them up?
-
How to Create a Modern C Project with CMake and Conan
You can just use https://github.com/friendlyanon/cmake-init to get a CMake + Conan C project ready to go with a short little command: cmake-init --c -e -p conan coolio
- CMake template
What are some alternatives?
vscode-cpptools - Official repository for the Microsoft C/C++ extension for VS Code.
meson - The Meson Build System
Visual Studio Code - Visual Studio Code
w64devkit - Portable C and C++ Development Kit for x64 (and x86) Windows
ccls - C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
xmake - 🔥 A cross-platform build utility based on Lua
coc-clangd - clangd extension for coc.nvim
fastbuild - High performance build system for Windows, OSX and Linux. Supporting caching, network distribution and more.
free-vscode-csharp - Free/Libre fork of the official C# extension for vscode
ModernCppStarter - 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
clangd - clangd language server
llvm-mingw - An LLVM/Clang/LLD based mingw-w64 toolchain