-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
microsoft/vscode
#136045Labels
Domain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorExperience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsFix AvailableA PR has been opened for this issueA PR has been opened for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
Suggestion
π Search Terms
- suggest / suggestion
- IntelliSense
- Snippet / snippets
- Tooling
- VS Code / vscode
β Suggestion
For the code:
abstract class Base {
abstract foo(param1: string, param2: boolean): Promise<void>;
}
class Sub extends Base {
}
I should be able to type f
inside the body of Sub
and get a suggestion for foo
that fills in the entire signature of the method when accepted:
class Sub extends Base {
foo(param1: string, param2: boolean): Promise<void> {
| // cursor ends up here
}
}
Right now, accepting the suggestion for foo only inserts the text foo
. I have to fill out the entire body of the method myself, typically by copy and pasting from the base class
jasonlyu123, andrewbranch, DanielRosenwasser, whzx5byb, ChiriVulpes and 2 more
Metadata
Metadata
Assignees
Labels
Domain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorExperience EnhancementNoncontroversial enhancementsNoncontroversial enhancementsFix AvailableA PR has been opened for this issueA PR has been opened for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript