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
This is technically #37 + placeholders for parameters. We've committed to the former, but the latter has a pretty poor UX in VS Code, IMO. Other LSs either don't implement placeholders at all, or at least make it toggleable.
This issue has been open for nearly a year and has not received enough upvotes to prioritize the work. Will reopen if we see this becoming a theme in user issues.
I'm moving this feature request from pyright to pylance. It was originally submitted by @leungbk here microsoft/pyright#924.
It would be nice if snippets were given in completions. For example, with the insertion point at
[-]
inone of the completions could be, using snippet syntax,
factorial${1:(${2:n: int})}
Type-inferencing could be useful here to let us automatically drop the outer pair of braces depending on context.
The text was updated successfully, but these errors were encountered: