The current getType does not return useful information for member functions. getDoc returns the most useful info, for things that have documentation, but nothing for things that do not. Next we try to find an exact completion for the identifier and use its signature. getType() is appropriate for the remaining cases.
This is kind of a followup to the conversation at https://github.com/Valloric/ycmd/pull/598
If you disagree with any of the design decisions, feel free to rework or let me know what you'd like changed. There will be a separate pull request to correct the documentation of what we show in the suggested completion.
The current getType does not return useful information for member functions. getDoc returns the most useful info, for things that have documentation, but nothing for things that do not. Next we try to find an exact completion for the identifier and use its signature. getType() is appropriate for the remaining cases.
This is kind of a followup to the conversation at https://github.com/Valloric/ycmd/pull/598 If you disagree with any of the design decisions, feel free to rework or let me know what you'd like changed. There will be a separate pull request to correct the documentation of what we show in the suggested completion.