abingham / emacs-ycmd

Emacs client for ycmd, the code completion system.
MIT License
384 stars 46 forks source link

company-complete fails to insert function arguments in C++ mode #491

Closed clauniel closed 5 years ago

clauniel commented 5 years ago

In C++ mode I can see the full completion of a function, including function arguments and types in the mode line. When executing company-complete, only the function name is inserted. The full function definition also does not appear in the drop-down list of completions.

company-ycmd-insert-arguments is set to t.

clauniel commented 5 years ago

Fixed after compiling ycmd with --clang-completer only instead of --clangd-completer as well as --clang-completer.