coc-java icon indicating copy to clipboard operation
coc-java copied to clipboard

while loop auto complete

Open linhanwang opened this issue 3 years ago • 4 comments

When I type whi and use enter to autocomplete, the result always be wwhile (condition) {

} I don't know whether it's a bug.

linhanwang avatar Aug 24 '22 14:08 linhanwang

I also met this problem (

Rider-kuuga avatar Oct 06 '22 01:10 Rider-kuuga

@linhanwang @Rider-kuuga me too, did you solved this question? 😭

codebysandwich avatar Oct 14 '22 02:10 codebysandwich

@codebysandwich basically, I try not to use lsp snippets. i use snippets plugin called coc-snippets now. To avoid the suggest window auto show the lsp provided snippets one the top of list,I changed the priority of snippet suggest to 100(Max), so that would be default select. Because I do not want to use c-n 😂 to select my snippets. I add this to my config file "snippets.priority": 100.

Rider-kuuga avatar Oct 14 '22 03:10 Rider-kuuga

@codebysandwich basically, I try not to use lsp snippets. i use snippets plugin called coc-snippet now. To avoid the suggest window auto show the lsp provided snippets one the top of list,I changed the priority of snippet suggest to 100(Max), so that would be default select. Because I do not want to use c-n 😂 to select my snippets. I add this to my config file "snippets.priority": 100.

this a trick! 👍

codebysandwich avatar Oct 14 '22 03:10 codebysandwich

Bad range returned from language server. Fixed on latest release branch of coc.nvim.

chemzqm avatar Jan 29 '23 08:01 chemzqm