Open HolyBlackCat opened 2 years ago
ctrl+alt
is very unergonomic for me, I would like to customize it as well.
Yes, this would be amazing to have. Currently I have them set to offUnlessPressed, but I sometimes want to turn them on - because I'm teaching or need a screenshot.
A command to toggle them on, and then back to off / offUtillPressed would be very helpful.
Would be great, because in VS Code on my system Ctrl+Alt activates the menu bar, places the focus there (I have just enabled the feature, I don't know how normal this is? So I don't know about this on Windows yet). Seems kinda buggy to me (especially because other applications do not show this behaviour on my system). I am working on the Xfce desktop on Linux. I believe not so many people are working with VS Code here or are testing it here.
I've tried this feature for 15 minutes, and my hand already hurts. Ctrl-Alt is an ok combination to press once, but for holding it's terrible. The losing focus issue also doesn't increase happiness. You can keep focus by using Alt-Ctrl instead of Ctrl-Alt, but this is even more awkward.
In addition, or as an alternative to customizing this hotkey, maybe consider adding a proper hotkey that allows to toggle the hints, rather than require to hold.
Hi, I'm still looking forward to this feature! Any updates?
I don't see why this wasn't a toggle in the first place. Type hints are most useful when you actually have a type error, or want to refactor the types, or are trying to understand someone else's code. Those are activities that take up a low proportion of my time overall, but when I'm doing them I don't want to have to hold down an awkward key combination, which prevents actually modifying the code while (after a short delay) seeing the hints!
Related on Stack Overflow: How can I change the inlay hints keyboard shortcut in Visual Studio Code?
Currently the setting
"editor.inlayHints.enabled": "{on,off}UnlessPressed",
forces you to use CtrlAlt to show/hide the inlay hints.I think it would be great to support customizing this hotkey, for example I'd bind one of the F keys to it.