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

VSCode can't disable inlay hints #11998

Closed
jkelleyrtp opened this issue Apr 15, 2022 · 2 comments · Fixed by #12006
Closed

VSCode can't disable inlay hints #11998

jkelleyrtp opened this issue Apr 15, 2022 · 2 comments · Fixed by #12006
Assignees

Comments

@jkelleyrtp
Copy link
Contributor

rust-analyzer version: rust-analyzer version: 7ce3ca5aa 2022-04-15 nightly

rustc version: rustc 1.60.0 (7737e0b5c 2022-04-04)

When I set "rust-analyzer.inlayHints.enable": false, the inlay hints remain. I would expect inlay hints to disappear. I have this configured to "toggle inlay hints" which seems to do nothing.

@lnicola
Copy link
Member

lnicola commented Apr 15, 2022

Try editor.inlayHints.enabled and the https://marketplace.visualstudio.com/items?itemName=hoovercj.vscode-settings-cycler extension.

@jkelleyrtp
Copy link
Contributor Author

jkelleyrtp commented Apr 15, 2022

Try editor.inlayHints.enabled and the https://marketplace.visualstudio.com/items?itemName=hoovercj.vscode-settings-cycler extension.

#1977

Ah this seems to be a result of #11935 - would be nice if the "toggle inlay hints" toggled "editor.inlayHints.enabled" instead.

I'll leave this issue open until docs are updated or behavior is changed to keep things up to date.

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.

2 participants