-
Notifications
You must be signed in to change notification settings - Fork 118
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
Add an option to disable inlay hints #215
Comments
The feature is currently opt-in on the server side: it requires |
OK thanks, I've updated my version of clangd (I was using an old beta version which surprisingly returns |
Is there no way to get rid of inlay hints with version EDIT: I will just update to current |
Some background here:
Now, you happen to be using a pre-release version Please bear in mind that pre-release versions do not make stability guarantees, and hiccups like this can sometimes arise and necessitate upgrading to a newer pre-release version (or, in this case, downgrading your client as an alternative). To answer your final question:
This option controls vscode's built-in inlay hints API. Clangd's implementation predates that and does not use it (it rolls its own with editor decorations). We will switch to the official API in due course (we're also waiting for the LSP protocol piece to be finalized). |
Thanks for the explanation. In the meantime I upgraded my clangd and I can now disable the feature :) |
Is there a way in
settings.json
to disable inlay hints added in #168?Turning off
editor.inlayHints.enabled
doesn't work for clangd, and I don't see any specific property.The text was updated successfully, but these errors were encountered: