Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Use cquery language server for C++? #4

Open
cdsousa opened this issue Nov 18, 2017 · 12 comments
Open

Use cquery language server for C++? #4

cdsousa opened this issue Nov 18, 2017 · 12 comments

Comments

@cdsousa
Copy link

cdsousa commented Nov 18, 2017

Hi, I just want to ping you about this apparently fully fledged language server for C++:
https://github.com/jacobdufault/cquery
It may be, for now, a better alternative to the rather incomplete Clangd server.

@thomasjo
Copy link
Owner

Thanks for the suggestion! A few Atom maintainers actually discussed this on Friday, and I did some preliminary testing. During my testing I ran into numerous issues mostly due to the documentation being somewhat lacking, thus leading to various crashes etc., but this is definitely something I plan on pursuing further.

@bhack
Copy link

bhack commented Nov 22, 2017

jacobdufault/cquery#63

@MaskRay
Copy link

MaskRay commented Dec 20, 2017

Will be awesome if you could give another try and provide feedbacks in the Gitter channel https://gitter.im/cquery-project/Lobby

The latest commit works on FreeBSD

@bhack
Copy link

bhack commented Jan 13, 2018

Take a look at https://github.com/rianneogi/ide-cquery

@thomasjo
Copy link
Owner

Will try to find some time over the weekend to revisit cquery integration. I will not abandon clangd, but it might make sense to support both.

@bhack
Copy link

bhack commented Mar 16, 2018

Ok there is already another ide plugin covering cquery

@davydden
Copy link

davydden commented Mar 17, 2018

it might make sense to support both.

since there is another atom-ide package which covers cquery, i guess this issue can be closed and perhaps community efforts should be focused in one place, if needed.

@exploide
Copy link

Mostly agree with @davydden that community efforts should be focused. But there are still two possibilities which seem viable:

  • having an ide- package that supports both, clangd and cquery
  • having separate ide- packages for the two language server implementations

First option would require collaboration with the aforementioned repository, while the second option is more like the current situation. But even in the latter case, it would be great to see if @jbree is out for collaboration, since he owns two further ide- packages claiming clangd support.

(Personally, I favor joining forces in open source communities. Cluttering package ecosystems also tangles the users.)

@davydden
Copy link

it would be great to see if @jbree is out for collaboration, since he owns two further ide- packages claiming clangd support.

👍 💯

@jbree
Copy link

jbree commented Mar 27, 2018

Happy to collaborate! @exploide, I personally don't think putting cquery and clangd into one ide plugin is the route to go.

My thought is that cquery is seems to be more complete at the moment, but clangd eventually may become the better general case solution, as it is actually a part of the clang tools.

My next move for ide-cpp was going to be to add automatic download if clangd is not found. @thomasjo, are you open to pull requests if I start with your baseline work here instead?

@thomasjo
Copy link
Owner

@jbree Definitely open to pull requests. My workload is ridiculous right now, so any and all help is greatly appreciated 🙇

@machitgarha
Copy link

machitgarha commented Dec 23, 2020

I think this issue should be closed. cquery is no longer maintained, and it suggests the usage of its alternatives. Instead, ccls should be planned. Plus, I think clangd is rather complete and stable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants