forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add method signature completions (microsoft#46370)
* prototype creation for method override completion snippet * WIP: start using codefix `addNewNodeForMemberSymbol` to create method decl node * update type of addNewNodeForMemberSymbol * add more tests and support more cases * add more tests and fix some details * wip: more fixes and tests * expose check override modifier in checker * fix test * WIP: add snippet support * WIP: snippet support on emitter, adding snippets in completions * make add snippets work with overloads (not synced) * fix snippet adding * rebase * WIP: try to add snippet escaping in emitter * support escaping in snippets * small fixes; fixed tests * more tests and fixes * fix new tests * fix modifier inheritance for overloads * merge conflict fixes; remove comments * throw error if setOptions is called but not implemented * fix newline handling * fix weird stuff * fix tests * fix more tests * Fix unbound host.getNewLine * fix isParameterDeclaration changes * rename diagnostic to status and remove snippets from public api * rename emitter functions + fix indentation * check completion kind before calling isclasslikemembercompletion * fix missing type parameters * Revert "fix missing type parameters" This reverts commit 7bdeaa8. * add isAmbient flag to addNewNodeForMemberSymbol * add test for abstract overloads * refactor snippet escaping support * add user preference flag for enabling class member snippets * update API baseline * update tabstop order Co-authored-by: Andrew Branch <[email protected]>
- Loading branch information
Showing
28 changed files
with
1,457 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.