question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inlay Hints & Types not working

See original GitHub issue

What’s the output of :CocInfo

## versions
 
vim version: VIM - Vi IMproved 9.2 8024919
node version: v19.9.0
coc.nvim version: 1.0.82-a315ad6c 2022-09-24 00:13:50 +0800
coc.nvim directory: /home/chrisobrien/.vim/plugged/coc.nvim
term: dumb
platform: linux

## Log of coc.nvim

2023-09-23T17:11:20.981 INFO (pid:66615) [services] - registered service "rust-analyzer"
2023-09-23T17:11:20.983 INFO (pid:66615) [services] - LanguageClient Rust Analyzer Language Server state change: stopped => starting
2023-09-23T17:11:20.985 INFO (pid:66615) [plugin] - coc.nvim initialized with node: v18.9.0 after 79ms
2023-09-23T17:11:20.993 INFO (pid:66615) [language-client-index] - Language server "rust-analyzer" started with 66628
2023-09-23T17:11:21.005 INFO (pid:66615) [services] - LanguageClient Rust Analyzer Language Server state change: starting => running
2023-09-23T17:11:21.034 INFO (pid:66615) [services] - service rust-analyzer started
2023-09-23T17:11:24.869 INFO (pid:66615) [attach] - receive notification: showInfo []

What’s the output of :CocCommand rust-analyzer.serverVersion [coc.nvim] rust-analyzer 0.3.1212-standalone

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
fannheywardcommented, Sep 25, 2022

You’re using vim 8.2, inlayHint feature needs neovim >= 0.5.0 or vim >= 9.0.0067.

0reactions
eureka-cpucommented, Sep 25, 2022

After installing from source, it works, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inlay hints | IntelliJ IDEA Documentation - JetBrains
In inlay hints settings, you can configure which types of information you want to get in hints. Enable inlay hints. Open the Settings/ ......
Read more >
Does anybody know the name of this setting inside of VS ...
Variable type inlay hints show the types of variables that don't have an explicit type annotations. Settings - javascript.inlayHints.
Read more >
Inlay hints not working in macro call · Issue #11323 - GitHub
When creating macros that accept blocks, if you declare a let , it doesn't show you the type. Doesn't work with function call...
Read more >
Make Inlay Type Hints in Python Appear/Disappear - Jay Miller
A Type Hinting Tip for Those Not Completely Onboard. TLDR: You can set Inlay Hints: Enabled to On/OffUnless pressed in the settings to ......
Read more >
Inlay hints on or off? : r/rust - Reddit
That keeps distractions at a minimum and short, readable lines. When I hit a problem I feel worth diagnosing, I turn on inlay...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found