tigersoldier / company-lsp

Company completion backend for lsp-mode
GNU General Public License v3.0
251 stars 26 forks source link

dot character can not trigger class member list and how to disable fuzzy complete? #112

Closed maobaoqi closed 5 years ago

maobaoqi commented 5 years ago

Hi, thanks for creating so great tool. I use it for C/C++ and have two questions: 1.In cpp file, there is a class object but can not pop complete menu when type dot character after obejct variable.

  1. In some cases, fuzzy complete may list many no necessary items, can we disabled it?
yyoncho commented 5 years ago
  1. (setq company-minimum-prefix-length 0) (probably)
  2. I think that fuzzy matching is implemented on the server for ccls/clangd and I think that you cannot enforce string matching on the client at this point(there is no such option).
maobaoqi commented 5 years ago

@yyoncho Setting company-minimum-prefix-length to 0 can not solve the question. thanks for your reply.