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

Question: Inlay hints #224

Closed
ghost opened this issue May 1, 2020 · 1 comment
Closed

Question: Inlay hints #224

ghost opened this issue May 1, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented May 1, 2020

I just setup coc-rust-analyzer and it works just fine.
I wonder if the extension is able to provide inlay hints out of chaining calls :

Screenshot 2020-05-01 at 10 14 11

On the image above, the extension provide inlay hints for chaining calls but variables string and frequency do not have inlay hints.

Example with VSCODE

Screenshot 2020-05-01 at 10 58 10

Did I miss one configuration to enable this feature ?
Thanks for your help.

Additional information

  • My CocConfig is empty
  • Rust analyzer
$ rust-analyzer --version
rust-analyzer 7a9ba16
  • CocVersion
## versions
vim version: NVIM v0.4.3
node version: v14.1.0
coc.nvim version: 0.0.78-030aef2f6d
term: iTerm.app
platform: darwin
  • CocOpenLog
2020-05-01T10:26:31.367 INFO (pid:1041) [plugin] - coc 0.0.78-030aef2f6d initialized with node: v14.1.0
2020-05-01T10:26:47.182 INFO (pid:1041) [services] - registered service "rust-analyzer"
2020-05-01T10:26:47.183 INFO (pid:1041) [services] - Rust Analyzer Language Server state change: stopped => starting
2020-05-01T10:26:47.191 INFO (pid:1041) [language-client-index] - rust-analyzer started with 1091
2020-05-01T10:26:47.197 INFO (pid:1041) [services] - Rust Analyzer Language Server state change: starting => running
2020-05-01T10:26:47.203 INFO (pid:1041) [services] - service rust-analyzer started
@fannheyward
Copy link
Owner

fannheyward commented May 1, 2020

You don’t missed anything, coc-rust-analyzer doesn’t support this, because we can’t do this in vim/neovim. #8 #177 (comment)

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

1 participant