Company ycmd enhancements

With ycmd, when you start typing, the identifier-based engine is used. With
these completion results I also don't get menu_text. But after a ., -> or
:: the results are from the semantic completion engine, wich should have
the menu_text.

On Sat, Nov 1, 2014 at 11:20 AM, abingham <notifications@github.com> wrote:

> In company-ycmd.el:
>
> > -    (interactive (company-begin-backend 'company-ycmd-backend))
> > -    (prefix      (company-ycmd-get-prefix))
> > -    (candidates  (company-ycmd-get-candidates arg))
> > -    (meta        (company-ycmd-get-metadata arg))
> > -    (annotation  (company-ycmd-get-annotation arg))
> > -    (match       (company-ycmd-get-match arg))
> > -    (no-cache    't) ; Don't cache. It interferes with fuzzy matching.
> > -    ))
> > +    (interactive     (company-begin-backend 'company-ycmd-backend))
> > +    (prefix          (company-ycmd--prefix))
> > +    (candidates      (company-ycmd--candidates arg))
> > +    (meta            (company-ycmd--meta arg))
> > +    (annotation      (company-ycmd--annotation arg))
> > +    (match           (company-ycmd--match arg))
> > +    (no-cache        't) ; Don't cache. It interferes with fuzzy matching.
> > +    (post-completion (let ((params (company-ycmd--params arg)))
>
> I've looked into this a bit, and the proximal reason I'm not getting
> expansion is that I'm not getting the menu_text field in my completion
> responses from ycmd. I'm not sure why I'm not seeing that field. Any ideas?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/abingham/emacs-ycmd/pull/47/files#r19703419>.
>