clangd
rtags
Our great sponsors
clangd | rtags | |
---|---|---|
53 | 3 | |
1,307 | 1,820 | |
5.0% | - | |
2.2 | 4.5 | |
8 days ago | 14 days ago | |
Shell | C++ | |
Apache License 2.0 | 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.
clangd
-
Speeding up C++ build times
I'm still waiting for clangd support, e.g. [0] before trying modules.
- [0] https://github.com/clangd/clangd/issues/1293
-
Configure clangd in eglot to not add headers?
I know one way to do this, but hoping there's something simpler or more general. clangd (C++ LSP server) is over-aggressive about adding "helpful" #includes during completion. The way to turn that off is to pass -header-insertion=never on its cmd line.
-
A little help for a C++ newbie
Install the clangd language server using your system package manager, e.g. sudo apt-get install clangd
-
Effect of Perceptual Load on Performance Within IDE in People with ADHD Symptoms
> As a side note, I despise things like imports and aliases. I'd prefer that when I do jump to a function, I can read it without having to check if anything is imported or not.
One idea might be to use an LSP (Language Server Protocol) interface. It could describe the fully qualified symbol for you when you, say, select the abbreviated symbol or press a keyboard shortcut. I've been working on a moderately large C program with Emacs and clangd[1] recently and have been amazed at how 'immersive' it feels, and that's from someone who's used to the comfort of a Lisp REPL!
[1]: https://clangd.llvm.org/
-
#include Cleanup Available in Visual Studio 2022 17.7 Preview 3
FWIW, recent clangd also has this feature: "unused" as of 14, "missing" as of 16, works better in snapshots.
-
How to set up C++ in sublime text?
You need to install CMake (and use it to build your project - which you should do in any case) and clangd.
-
Guide for starting out C and C++ Programming in Visual Studio Code
First we would need the Clangd extension as well as the LSP itself You can download the extension from #here The extension provides its own Clangd LSP but in case of issues with that we would like to download and setup the clangd package from the official site for both Windows and Linux I daily drive Linux on my laptop, thus this guide works well for linux users, Windows users can use programs like Cygwin to replicate the process
-
Does C/C++ OpenMP pragmas break clangd LSP for you?
Few days ago I found a bug while using clangd LSP with neovim, and submitted a bug report to clangd: https://github.com/clangd/clangd/issues/1640
-
vscode alternative for C++ on M1 mac?
Come to the light side: VSCodium with clangd
-
Looking for projects to contribute to
If you use the clangd LSP: https://github.com/clangd/clangd/issues
rtags
-
How to combine rtags and vertico
I decided to install cmake-ide. It seems that rtags came along with the former. Fine, but I also decided to use the vertico package. It also seems that rtags has a support for Helm, but from what I understand, Helm and and Vertico fall under the same category of packages and therefore I can only have one of them.
-
Modern alternate to ctags/etags?
An alternative to LSP is rtags. I found this is often a lot faster than LSP, with any server.
-
External Clang Examples
>"List of projects and tools
https://github.com/Andersbakken/rtags/
"RTags is a client/server application that indexes c/c++ code and keeps a persistent in-memory database of references, symbolnames, completions etc."
https://rprichard.github.com/sourceweb/
"A C/C++ source code indexer and navigator"
https://github.com/etaoins/qconnectlint
"qconnectlint is a Clang tool for statically verifying the consistency of signal and slot connections made with Qt's QObject::connect."
https://github.com/woboq/woboq_codebrowser
What are some alternatives?
ccls - C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
nvim-lspconfig - Quickstart configs for Nvim LSP
language-server-protocol - Defines a common protocol for language servers.
eglot - A client for Language Server Protocol servers
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
dxr - DEPRECATED - Powerful search for large codebases
coc-diagnostic - diagnostic-languageserver extension for coc.nvim
ToyClangPlugin - Playing with Clang plugin system
Bear - Bear is a tool that generates a compilation database for clang tooling.
cldoc - clang based documentation generator for C and C++