atom-youcompleteme icon indicating copy to clipboard operation
atom-youcompleteme copied to clipboard

Parameters missing after completion

Open winkj opened this issue 8 years ago • 3 comments

Hi there,

I've set up ycmd and most features work, however when I try to complete C++ functions the preview popup is correct, but after hitting enter (or selecting the item using the mouse) only the method name gets completed, but the parameters aren't.

Here's an example: I started typing "cout.wr", and the completion shows correctly: screen shot 2016-02-10 at 9 53 54 pm

After hitting enter, "wr" is completed to "write", but the argument list isnt' included

screen shot 2016-02-10 at 9 54 00 pm

Any ideas what this could be? The GIF you're showing doesn't have this behaviour.

winkj avatar Feb 11 '16 05:02 winkj

This was possible when used with my own ycmd fork. However keeping that fork updated is quite tedious. I am trying to merge those changes into the upstream. https://github.com/Valloric/ycmd/pull/327

Qusic avatar Feb 11 '16 10:02 Qusic

It is quite difficult to merge such a large refactor into the upstream of ycmd. Maybe I can resort to a little lexer for this.

Qusic avatar May 29 '16 07:05 Qusic

Is it possible we add a ( in completion result when detected it is a function. It should be easier and helpful.

chaopeng avatar Nov 29 '16 16:11 chaopeng