-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluate Cquery #208
Comments
I was able to make it work by adding this to
"clients":
{
"cquery":
{
"command": ["cquery", "--language-server"],
"scopes": ["source.c", "source.c++", "source.objc", "source.objc++"],
"syntaxes": ["Packages/C++/C.sublime-syntax", "Packages/C++/C++.sublime-syntax", "Packages/Objective-C/Objective-C.sublime-syntax", "Packages/Objective-C/Objective-C++.sublime-syntax"],
"languageId": "c++",
"initializationOptions":
{
"cacheDirectory": "/tmp/cquery",
"cacheFormat": "msgpack",
"completion":
{
"filterAndSort": false
},
"indexerCount": 0,
"index":
{
"comments": 2,
},
"progressReportFrequencyMs": -1,
}
}, |
Found a homebrew formula here which installed at first try: https://github.com/twlz0ne/homebrew-cquery |
Wow, this worked really well! I believe the The I tried these options together with
@papadokolos, regarding the issue you created to integrate cquery - I can help you set up a package that implements the extra LSP extensions (like An example of how to plug in extra functionality exist for the Rust language server here: https://github.com/tomv564/LSP-rust |
Closing as cquery appears to be working with LSP with the above configuration. |
https://github.com/jacobdufault/cquery/#cquery
Easier to compile than doing the full clang checkout + build to get clangd
Maybe have some nice solutions for extra compiler flags etc?
The text was updated successfully, but these errors were encountered: