-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
enhancement requestNew feature or requestNew feature or request
Description
It would be nice if snippets were given in completions. For example, with the insertion point at [-] in
def factorial(n: int) -> int:
return 1 if n == 0 else n * fa[-]one 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancement requestNew feature or requestNew feature or request