Microsoft/TypeScript

Parameter completion for arrow/anonymous functions

Open

#51,427 opened on Nov 7, 2022

View on GitHub
 (2 comments) (6 reactions) (0 assignees)TypeScript (48,455 stars) (6,726 forks)batch import
Experience EnhancementHelp WantedSuggestion

Description

Auto complete the parameters of anonymous functions. JavaScript and most other languages already name the parameters when the function is defined and you can see these names while you are writing the function, but why not complete the whole statement, or at least complete the names when in the parentheses.

JavaScript already knows the param names image

How IntelliJ handles it image image

Contributor guide