-
Notifications
You must be signed in to change notification settings - Fork 11
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
Disable inlay hints by default - e.g. parameter names in function invocations #349
Comments
Hi, thanks for the feedback! Inlay hints should be disabled by default. Which clangd version are u using? InlayHints:
Enabled: No The location of the However, I agree that this should be made more user friendly. |
You may also have to close and reopen the editor |
clang version 16.0.1 (https://github.com/espressif/llvm-project.git fe4f10a809705c2ddbed62145616bb9c85c499c0) gooooogling around i found this, saying they enable inlay hints by default, and this, saying that only future proof way of managing inlay hints at clang level is config files as you described. as workaround i just prohibited them globally in config.yaml - it works |
there is a function prototype:
int SPI_IO(spi_device_handle_t spiDevice, unsigned char *data, unsigned int rxSize, unsigned int totalSize, bool dropTxPhaseData);
inside LSP editor usage of this function looks:
note all these '[0]=', 'spiDevice:', 'data:', 'rxSize:', etc. parameter name hints which are NOT EDITABLE - there is no simple way to get rid of these hints.
they violate (visually) language syntax and are totally in wrong place: it's text editor at the end of all. there could be room for them in e.g. tooltips, but not in the editor area where every character IS EDITABLE.
such dubious, concept-breaking functions muzz be optional and disabled by default
The text was updated successfully, but these errors were encountered: