inlay hints gone
See original GitHub issueIt looks like https://github.com/llvm/llvm-project/commit/3137ca80b9ef99359a4adf77512925c2edc461b9 stopped inlay hints from working for me.
editor.inlayHints.enabled
is on of course. But there are no textDocument/inlayHint
messages.
If I comment out https://github.com/clangd/vscode-clangd/blob/dc6518fb0af230c73aa309ef9086e37a49c7e35f/src/inlay-hints.ts#L59 they come back, but based on the clangd/inlayHints
protocol of course.
Can anyone confirm this behavior?
System information
Output of clangd --version
: clangd version 15.0.0 Features: linux Platform: x86_64-unknown-linux-gnu
Editor/LSP plugin: VSCode 1.67.2 / 0.1.17
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Inlay hints | IntelliJ IDEA Documentation - JetBrains
Inlay hints are special markers that appear in the editor and provide you with additional information about your code, like the names of...
Read more >Make Inlay Type Hints in Python Appear/Disappear - Jay Miller
Customizing How Inlay Hints Present in Your Editor. Next in settings just search for "Inlay". You should find Editor › Inlay Hints: Enabled...
Read more >Rust-Analyzer not showing toggle inlay hints - Reddit
Hi, I'm using VSCode: When I try to add a keybind for "toggle inlay hints", it's not actually an option. Futhermore, when I...
Read more >VS Code Tip of the Week: Inlay hints configuration options
I'm a big fan of inlay hints, but sometimes they can get in the way. Matt goes through a few ways on how...
Read more >Visual Studio Code, rust-analyzer: Cannot disable inlay hints
For some reason I cannot disable inlay hints. I know that this used to work for me previously. ... I'm not sure what...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, I see the same.
I think the issue may be that the code to send the
textDocument/inlayHint
requests only appeared in vscode-languageclient version 8.0.0-next.14, but vscode-clangd only requires version 7.1.0-next.1.True they did look better in the past iirc. Now they look confusingly similar to selected/highlighted text in the dark theme.
Edit: improved it a lot via