-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
Domain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
async function foo(x: Promise<string>) {
x./**/
}
Go to the /**/
marker and request completions.
The proposal here is that all the completions for string
should show up. When the user selects a string
member, we should automatically await
the value, so selecting toLowerCase
changes the code to (await x).toLowerCase
.
Kingwl, dragomirtitian, fatcerberus, littledan, markusjohnsson and 20 moreuhyouhyo, jakejrichards and niieani
Metadata
Metadata
Assignees
Labels
Domain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript