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

File mode specification error: (user-error Could not find cquery project root) #40

Closed Vonfry closed 6 years ago

Vonfry commented 6 years ago

It displays the information in emacs.

File mode specification error: (user-error Could not find cquery project root) [4 times]

I think I have a right compile_commands.json and .projectile file, both of them can work with irony and projectile. And (cquery--get-root) can also return the right path.

I install cquery by homebrew(cquery: stable 20180302 (bottled), HEAD).

My config can find here.

I follow the wiki to config cquery, only setting cquery-executable

Vonfry commented 6 years ago

I found the reason. It is becasue of company-lsp's cache