Experiment with trailing comma insertion text for object literal completions #22854
Labels
Domain: Completion Lists
The issue relates to showing completion lists in an editor
Needs Proposal
This issue needs a plan that clarifies the finer details of how it could be implemented.
Suggestion
An idea for TypeScript
When I'm adding a new property in the middle of an object literal, there's nothing I love more than getting an immediate parse error and then having to add a comma after the body of a nested object literal/method declaration. It'd be nice to see if we can smooth out the experience here. Maybe we can have comma insertion text after these completions (provided the experience doesn't feel annoying).
The text was updated successfully, but these errors were encountered: