Caibin Chen

Results 32 comments of Caibin Chen

I cannot think of any reason company-quickhelp works differently with company-lsp. Is it possible the the language server only returns one line of documentation?

Based on the output of `company-diag` and the report from @david, `company-lsp--post-completion` is not run in this case: - The server returns candidate with `label` of `endpoint : String` and...

It looks like the server didn't receive content update when typing, or server responded regardless the update. Can you try the following: 0. Let me know what's the value of...

Looks like the php lang server does no filter candidates, or provide sorting hints. This contradicts with other language servers. I can provide a custom option to use prefix filter...

On a second thought, can you set `company-lsp-cache-candidates` to t? This will use company-mode's native functionality to cache the candidates and filter them.

So it's common that language servers return unfiltered candidates. I'll implement client-side filtering so that it works regardless of the value of `company-lsp-cache-candidates`

Hi all, please take a look at pull request #86 which is supposed to fix this issue. I'll merge it in a week or upon the first few LGTM. I've...

> This implementation targets vscode which caches the candidates once the server returns `isIncomplete` flag = nil. If you set `company-lsp-cache-candidates` to `'auto`, it also caches complete candidates. I made...

@CDitzel The easiest way to set `company-lsp-cache-candidates` is by customizing it: `M-x customize-group company-lsp`. You will see all the customizable options. Change cache candidates to "Respect server response" will do...

@xendk @CDitzel `company-lsp-filter-candidates` only works when `company-lsp-cache-candidates` is set to `nil`. I suspect there is something wrong with your `all-completions` function. Can you paste the first few lines of its...