Skip to content
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

Clangd does not support completionItem/resolve #9

Open
hamer0 opened this issue Jul 22, 2023 · 0 comments
Open

Clangd does not support completionItem/resolve #9

hamer0 opened this issue Jul 22, 2023 · 0 comments

Comments

@hamer0
Copy link
Collaborator

hamer0 commented Jul 22, 2023

The current codemirror lsp set up uses the completionItem/resolve request to fill in the documentation for the currently selected autocomplete suggestion. Clangd throws an error when this request is received:

completion info: Error: method not found

A work around may be needed to retrieve the documentation in a different way. We could retrieve the documentation in the same way the signature help is retrieved.

hamer0 added a commit that referenced this issue Jul 22, 2023
Stops the flood of errors due to completionItem/resolve not existing as a valid request in clangd.

This is a temporary fix to a known bug (#9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant