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

feature request: Parameter Hints shown inline all the time (like IntelliJ) #34

Closed
dwlsalmeida opened this issue May 22, 2020 · 3 comments

Comments

@dwlsalmeida
Copy link

Hello,

There has been extensive discussion over this issue here: microsoft/vscode#16221

I noticed rust-analyzer provides similar functionality for rust, see https://user-images.githubusercontent.com/2771466/71774757-54269200-2fc8-11ea-8505-ac2f326761ca.png

I wonder whether it is possible to implement support for this in vscode-clangd for C/C++? I noticed that this already happens when you first type a function, but what I am looking for is something that is shown inline all the time.

@dwlsalmeida dwlsalmeida changed the title Parameter Hints shown inline all the time (like IntelliJ) feature request: Parameter Hints shown inline all the time (like IntelliJ) May 22, 2020
@HighCommander4
Copy link
Contributor

It should be possible. It needs server-side support, which is tracked in clangd/clangd#313.

@Trass3r
Copy link
Contributor

Trass3r commented Jul 10, 2020

For the record, there is an LSP proposal: microsoft/language-server-protocol#956.

@HighCommander4
Copy link
Contributor

This has been implemented on both the server side (in clangd 14) and client side (vscode-clangd 0.1.14, controlled via editor.inlayHints.enabled); I think the issue can be closed.

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

3 participants