Skip to content

Inlay Hints: Enable not affecting Inlay Hints: Type Hints #12036

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

Closed
kevinMEH opened this issue Apr 20, 2022 · 0 comments · Fixed by #12037
Closed

Inlay Hints: Enable not affecting Inlay Hints: Type Hints #12036

kevinMEH opened this issue Apr 20, 2022 · 0 comments · Fixed by #12037

Comments

@kevinMEH
Copy link

rust-analyzer version: rust-analyzer version: 65fbe0a 2022-04-18 stable

So I disabled the Rust-analyzer > Inlay Hints: Enable setting. This setting disabled most of the inlay hints.

However, type hints for variables are still showing. This setting appears to be controlled solely by the Rust-analyzer > Inlay Hints: Type Hints setting and is unaffected by the disabling of the Inlay Hints: Enable setting.

See screenshots below:

image

image

You can easily fix it just by disabling the Type Hints setting, but I thought I should report this since it's unintended behavior. Sorry if I'm being unnecessarily petty.

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

Successfully merging a pull request may close this issue.

1 participant