Results 884 comments of Ivan Yonchovski

> How about falling back to insert-text, if available? Will the insert text be something like `foo($1:bar)`? If not I guess it is an option. But at least there should...

@storvik ``` (add-to-list 'company-lsp-filter-candidates '(gopls . nil)) ``` This line will sove your problem. @tigersoldier I was unable to track down what is causing this behaviour.

@storvik it should be open, we need to make it work out of the box. @tigersoldier the problem is that the firlterText is the remaining part, e. g. `"int($1)"` (from...

> A better solution will be comparing the `filterText` with and without the prefix. The best solution is to implement flx filtering. I think that unifing the filtering with what...

@tigersoldier we have problems with xml autocompletion. The prefix is calculated incorrectly. If you have `

@tigersoldier I did some experimentation with company-lsp--completion-prefix, I changed it to company-grab-symbol and it seems to fix the issues with clojure and xml. Do you know a language server that...

I did some debugging and narrowed down how vscode works. VScode fetches the current word(i. e. prefix) depending on the currently defined syntax. Guess what, if you are editing xml...

FYI https://github.com/Microsoft/vscode/blob/a3099d3e10e47d5060bf73beb5c6fd5bae0567a9/src/vs/editor/common/model/textModel.ts#L2017

@tigersoldier I agree that it will work in this case. You know what is the problem - if the word separator is not considered as a trigger character this might...