clangd
nvim-treesitter
clangd | nvim-treesitter | |
---|---|---|
53 | 308 | |
1,578 | 10,901 | |
2.1% | 1.4% | |
2.9 | 9.9 | |
3 days ago | 7 days ago | |
Shell | Scheme | |
Apache License 2.0 | Apache License 2.0 |
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
nvim-treesitter
- Ask HN: Current best open-source or commercial automated LLM coding agent?
-
Lite 🚀 ApolloNvim Distro 2024
👉 Tree-sitter plugin for code highlighting.
-
Neovim for beginners
Treesitter is what makes your neovim colorful. It uses the LSP and colorscheme and colors your variables, keywords and other stuff. To understand how treesitter works and configure treesitter please read the docs. Here is my configuration for treesitter:
-
Simple Neovim config
nvim-treesitter is a plugin that has been around for 4 years now. A lot of people will say this is essential to your Neovim experience, and I do agree to some extend. It is incredibly useful... as a dependency for other plugins. It allows Neovim to gather more information about source code of the current file, and plugin authors can do really cool things that. For "normal users" like you and me there are some modules we can enable. One of them can be used to enhance the syntax highlight of many programming languages. That I think the feature nvim-treesitter is known for.
- Bro Install Neovim On Windows And Setup Neovim Without Neovim Package Manager 🙀
-
Leaving Neovim for Zed
I wouldn't really count those. Every editor with treesitter support will have those, it's for treesitter: https://github.com/nvim-treesitter/nvim-treesitter/blob/mast...
-
Customizing Your Lazyvim Setup for Personal Preferences
nvim-treesitter/nvim-treesitter (to provide a simple and easy way to use the interface for tree-sitter in Neovim and to provide some basic functionality such as highlighting based on it)
-
Ultimate Neovim Setup Guide: lazy.nvim Plugin Manager
nvim-treesitter/nvim-treesitter: Nvim Treesitter configurations and abstraction layer.
-
JetBrains' unremovable AI assistant meets irresistible outcry
I suggest looking for blog posts about this, you're gunnuh wanna pick out a plugin manager and stuff. It's kind of like a package manager for neovim. You can install everything manually but usually you manually install a plugin manager and it gives you commands to manage the rest of your plugins.
These two plugins are the bare minimum in my view.
https://github.com/nvim-treesitter/nvim-treesitter
Treesitter gives you much better syntax highlighting based on a parser for a given language.
https://github.com/neovim/nvim-lspconfig
This plugin helps you connect to a given language LSP quickly with sensible defaults. You more or less pick your language from here and copy paste a snippet, and then install the relevant LSP:
https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...
For Python you'll want pylsp. For JavaScript it will depend on what frontend framework you're using, I probably can't help you there.
pylsp itself takes some plugins and you'll probably want them. https://github.com/python-lsp/python-lsp-server
Best of luck! Happy hacking.
-
Help needed with Treesitter sql injection
It was changed in https://github.com/nvim-treesitter/nvim-treesitter/commit/78b54eb
What are some alternatives?
ccls - C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
nvim-lspconfig - Quickstart configs for Nvim LSP
eglot - A client for Language Server Protocol servers
vim-polyglot - A solid language pack for Vim.
coc-diagnostic - diagnostic-languageserver extension for coc.nvim
vim-python-pep8-indent - A nicer Python indentation style for vim.
Bear - Bear is a tool that generates a compilation database for clang tooling.
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
include-what-you-use - A tool for use with clang to analyze #includes in C and C++ source files
tree-sitter - An incremental parsing system for programming tools