Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Parameters missing after completion #48

Open
winkj opened this issue Feb 11, 2016 · 3 comments
Open

Parameters missing after completion #48

winkj opened this issue Feb 11, 2016 · 3 comments

Comments

@winkj
Copy link

winkj commented Feb 11, 2016

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.

@Qusic
Copy link
Owner

Qusic commented Feb 11, 2016

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. ycm-core/ycmd#327

@Qusic
Copy link
Owner

Qusic commented May 29, 2016

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.

@chaopeng
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants