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
I like the auto-signature-help feature, but it currently has a major drawback: it's applied regardless of how deep you are in the function.
Consider the scenario where you pass a large object to the function; this is common in configuration functions, like defineConfig from Vite:
As you can imagine, this becomes incredible annoying: the signature help is continuously displayed as you edit the configuration object.
Having auto-signature-help be shallow could resolve it: if the cursor is immediately inside the function signature, you render the help, but if it is deeper, e.g. inside an object nested inside the signature, than it is not rendered.
If this is usecase dependent it could be a configuration option, but I would argue it should be shallow by default.
My be related to #9144 and #5827 but I am not sure how those are scoped.
The text was updated successfully, but these errors were encountered:
I like the
auto-signature-help
feature, but it currently has a major drawback: it's applied regardless of how deep you are in the function.Consider the scenario where you pass a large object to the function; this is common in configuration functions, like
defineConfig
from Vite:As you can imagine, this becomes incredible annoying: the signature help is continuously displayed as you edit the configuration object.
Having
auto-signature-help
be shallow could resolve it: if the cursor is immediately inside the function signature, you render the help, but if it is deeper, e.g. inside an object nested inside the signature, than it is not rendered.If this is usecase dependent it could be a configuration option, but I would argue it should be shallow by default.
My be related to #9144 and #5827 but I am not sure how those are scoped.
The text was updated successfully, but these errors were encountered: