cquery-project / emacs-cquery

Emacs client for cquery, a low-latency language server supporting multi-million line C++ code-bases
116 stars 14 forks source link

Function parameter completion acces #53

Closed pcharest2000 closed 5 years ago

pcharest2000 commented 5 years ago

This is more a question than a bug sorry for opening an issue but I cannot find the answer. I have used other completion engines and cquery seems to be the best so far but I cannot get function parameter to complete i.e auto fill. When I do complete a function I am getting the following:

sprintf(${1:char restrict __s}, ${2:const char restrict __format, ...})$0

Once the completion is confirmed I do not have acces to function parameters... I am certain this a config issuer on my side:a I have company-lsp working, lsp-ui... any help would be appreciated

pcharest2000 commented 5 years ago

I have finally figure it out company-lsp needs yasnippet to work... installed it and bang... i am amazed at the functionality of cquery...