Some completions automatically insert the method signature with placeholder variables, like this:
I don't like this functionality and would like to turn it off. I can't see it mentioned in the docs anywhere and can't see any settings that look like they would disable it.
Is there a way to disable this?
Thanks!
It's placeholder of snippet, when you type any character the placeholder is removed.
You can disable snippet for function call of tsserver by:
"typescript.suggest.completeFunctionCalls": false,
"javascript.suggest.completeFunctionCalls": false,
Same as VSCode.
Thanks! FYI - I (and I presume lots of other vim users) have never used VSCode, so I don't think you should assume that users will know how things work just because it's like that in VSCode.
I think it would be really useful if all of the possible options were listed somewhere with explanations of what they mean.
It's documented
https://github.com/neoclide/coc.nvim/wiki/Using-configuration-file#extension-configuration
https://github.com/neoclide/coc-tsserver#configuration-options
Have priview in completeopt
you can have the desciption in preview window.
Most helpful comment
Thanks! FYI - I (and I presume lots of other vim users) have never used VSCode, so I don't think you should assume that users will know how things work just because it's like that in VSCode.
I think it would be really useful if all of the possible options were listed somewhere with explanations of what they mean.