Closed jwintz closed 6 years ago
https://github.com/jacobdufault/cquery/wiki/Emacs#checklist
M-x lsp-capabilities LSP workspace is initialized correctly
M-: xref-backend-functions is (lsp--xref-backend) for cross references
M-: completion-at-point-functions is (lsp-completion-at-point) for completion
Hi, as of https://github.com/cquery-project/emacs-cquery/commit/f0dcfaec5d45731fc6d457bc3cf9cf080710cc5e, the emacs interface to the updated cquery works, assuming I move my compile commands in the project root dir.
M-x lsp-capabilities:
The server provides code lens
The server provides code actions
The server provides project symbol support
The server provides file symbol support
The server provides references support
The server provides goto definition support
The server provides completion support
The server provides hover support
Document sync method: Send full contents
Awesome !
For this one to work, I had to copy my
compile_commands.json
out of the build dir to the project dir.From
cquery.el
Should use a
cquery-cdb-default-dir
with adolist
. See https://github.com/cquery-project/emacs-cquery/commit/de032bf94976cff86425a76f2c1aa4cbd9552ff2However
company-lsp
gives me:Moreover
M-.
andM.?
does not give me any result.Using latest
cquery
and latestcquery.el
forked into my config.