lh-cpp
C&C++ ftplugins suite for Vim (by LucHermitte)
vim-clang
Module to Interact with libclang (and clang_indexer DB) from Vim. (by LucHermitte)
lh-cpp | vim-clang | |
---|---|---|
4 | 1 | |
128 | 12 | |
- | - | |
0.0 | 0.0 | |
10 months ago | about 3 years ago | |
Vim Script | Vim Script | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
lh-cpp
Posts with mentions or reviews of lh-cpp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-04.
-
[C++] If I declared a function signature within a class in a separate file, is there a way to automatically define the function (besides the body) in the class implementation file
In lh-cpp, gotoimpl_with_libclang branch, I have been working on a new implementation of :GOTOIMPL (generate an empty body in a .cpp file from the signature) and :MOVEIMPL (move an inline definition from an header file to an implementation file, while leaving a declaration behind) that rely on libclang to parse C++ code. :GOTOIMPL & :MOVEIMPL have existed for ages now. The difference is that I'm now able to correctly handle template classes and functions, and more complex parameter types as C++ parsing is no longer done with regexes.
-
Is there a plug-in that adds semi-colons after class/struct definitions for C++?
In lh-cpp, I tweak lh-brackets mapping on { to insert the semi-colon as well, but only if one of struct, class, enum... is detected on the current line when { key is hit.
-
auto create code when i open new cpp file.
On those topic I provide mu-template that is somewhat hybrid as it supports template inserted when a new file is opened-created, but also snippets. It can be completed by lh-cpp for even more advanced C++ related snippets. Note: they are definitively not trendy but I'm still using and maintaining them.
-
Can't wait for Vim 9 script! (VimL 2, VimScript 2)
We already have a kind-of central registry, it's vim-pi. Thanks to it, and VAM, you can install my lh-cpp plugin and all its dependencies with a single :InstallAddon lh-cpp
vim-clang
Posts with mentions or reviews of vim-clang.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-04.
-
[C++] If I declared a function signature within a class in a separate file, is there a way to automatically define the function (besides the body) in the class implementation file
Note: libclang is indirectly used through another plugin of mine: vim-clang, branch V2Updrage. If for some reason libclang isn't detected or if it cannot be used because a configuration issue, :GOTOIMPL will fall back to its old behaviour.
What are some alternatives?
When comparing lh-cpp and vim-clang you can also consider the following projects:
vim-minisnip - snipMate.vim based snippets plugin for vim
vim-plug - :hibiscus: Minimalist Vim Plugin Manager
vim-projectionist - projectionist.vim: Granular project configuration
nerdtree - A tree explorer plugin for vim.
mu-template - Vim template-files expander
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
qline.vim - The quick, fully-customizable status line plugin written in cutting-edge Vim9 script.
exoskeleton.vim - Skeleton vim improved
Leaderf-snippet - Intuitive Way to Use Snippet