atom-ide-cpp
atom-ide-cpp copied to clipboard
Use cquery language server for C++?
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.
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.
https://github.com/jacobdufault/cquery/issues/63
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
Take a look at https://github.com/rianneogi/ide-cquery
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.
Ok there is already another ide plugin covering cquery
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.
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.)
it would be great to see if @jbree is out for collaboration, since he owns two further ide- packages claiming clangd support.
👍 💯
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?
@jbree Definitely open to pull requests. My workload is ridiculous right now, so any and all help is greatly appreciated 🙇