clangd
clangd copied to clipboard
Double click to insert argument comment
The vscode python extension has this very useful feature where you can double click to insert argument comments that I really miss when doing C++.
Before:
After:
I would like to see the same for this extension. that would turn this
into this
We already have auto completion for argument comments when typing /*
which is useful, but the double click feature would be even better
(Transferred to server repo as that's where this feature would need to be implemented.)
I assume the vscode python extension is doing this using the Language Server Protocol's interactive labels feature for inlay hints.
See also https://github.com/clangd/clangd/issues/1535 which is on file about making use of the interactive labels feature for type hints, to offer navigation to the type definition.