Description
Hello all,
I am a novice Rust user. I recently began using vscode with the rust-analyzer extension and found the display of non code text (e.g. types, parameter names) inline by-default extremely confusing. I believe these are "inlay-hints".
I'd like to proposing that these should not be by-default enabled and so the following settings should default to:
"rust-analyzer.inlayHints.typeHints.enable": false,
"rust-analyzer.inlayHints.parameterHints.enable": false,
"rust-analyzer.inlayHints.chainingHints.enable": false,
Although I'm sure more seasoned Rust developers will mentally skip over them, or already have "editor.inlayHints.enabled": "off"
set globally, but I want specifically call-out that displaying non-code text inline is a really novice-hostile feature.
Here is a real-world recreation of me trying to manually type-out a line nearly identically to an existing line and managing to create a syntax error which the editor and extensions are no help.
Screen.Recording.2022-10-25.at.20.10.13.mov
I understand that this may seem trivial to other folks and now my global settings.json includes
"editor.inlayHints.enabled": "offUnlessPressed",
I'll never run into this again, but this is the first time I've encountered an vscode extension or any IDE for that matter which included non-text tokens inline in the in my editor, by default, so I wanted to call it as potentially a novice-hostile default.
External discussions: