I'm using Rust, but this is probably language-independent. Sometimes I find inlay hints for types, etc. very helpful, but sometimes they are in the way. Is there a way to turn them on and off with a keystroke?
I'm using Rust, but this is probably language-independent. Sometimes I find inlay hints for types, etc. very helpful, but sometimes they are in the way. Is there a way to turn them on and off with a keystroke?
Yes. Go to Preferences, then Keymap, and search for "inlay". There you will find an entry called "Toggle Inlay Hints Globally" which probably is not bound to a key. That's the one you want; bind it to whatever keystroke(s) you like.