You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Visual Studio Code setting for inlay type hints has three options: enabled, disabled and offUnlessPressed. With the "offUnlessPressed" option, the type hints are only shown whilst you hold a certain keybinding (Ctrl+Alt).
I don't mind if Helix implements it in this particular way. Currently, we can do a toggle like this, which would work fine if not for the caveat below.
[keys.normal.space]
i = ":toggle lsp.display-inlay-hints"
The issue is that there is a delay when enabling the hints, as I imagine the live type information is not already available as it must be in VSC with the "offUnlessPressed" option set.
I am pretty new to Helix so I am not exactly sure what form an option to "fix" this would come in, as you don't want to bother keeping type information if people truly want hints disabled, but having an option to have the type information available for when it is toggled on, for people using such a toggle, would be a nice feature.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The Visual Studio Code setting for inlay type hints has three options: enabled, disabled and offUnlessPressed. With the "offUnlessPressed" option, the type hints are only shown whilst you hold a certain keybinding (Ctrl+Alt).
I don't mind if Helix implements it in this particular way. Currently, we can do a toggle like this, which would work fine if not for the caveat below.
The issue is that there is a delay when enabling the hints, as I imagine the live type information is not already available as it must be in VSC with the "offUnlessPressed" option set.
I am pretty new to Helix so I am not exactly sure what form an option to "fix" this would come in, as you don't want to bother keeping type information if people truly want hints disabled, but having an option to have the type information available for when it is toggled on, for people using such a toggle, would be a nice feature.
Beta Was this translation helpful? Give feedback.
All reactions