company-lsp icon indicating copy to clipboard operation
company-lsp copied to clipboard

In C and C++ mode, locations of `*' and `&' are different between function declaration and completion candidates

Open nanuda opened this issue 4 years ago • 0 comments

Let' say I declare a function foo in header file likes below void foo(int* n); // Note that the asterisk is on the type side

But the signature of foo function in completion candidates is like void foo(int *n). Now asterisk is on the variable side. After I selected the candidate, inserted function is same as candidate signature.

I just want function declaration and inserted function to have same signature. Is there any way to solve this issue?

nanuda avatar Jan 13 '20 07:01 nanuda