Open Shatur opened 4 years ago
I've been running into this thing since I started this plugin. The problem is that, in the presence of overloads, the solutions are either ugly UX-wise, or impossible without dependency on libclang (or something like that). So I got around that problem by writing good code on my first try. =) But I think I've just thought how to make it work when there are no overloads. Let's see how that works.
Perhaps using LSP would not be a bad solution. I think many use LSP to write C++ code. For example, I use clangd
along with vim-lsp
.
Sorry, external dependencies are not an option: it's inconsiderate for people who can't or won't install them, and I myself also often write on a system where I'm not allowed to. BTW, doesn't LSP itself allow you to rename/redefine symbols?
Bad to hear. Semantic implementation will be always better then regex :(
Unfortunately, clangd
, for now, do not have such features.
ccls
do not allow this too.
BTW, I tried different plugins for generating C++ implementation and you have the best one as for me :) Especially thanks for Qt features.
Most IDE allows to change function signature. It's really often needed. For example, if I have the following function:
I would like to have the ability to change it definition and implementation to the following:
Is it possible to implement?