-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Add method signature completions #46370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 27 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
701c5f3
prototype creation for method override completion snippet
gabritto 2c84d88
WIP: start using codefix `addNewNodeForMemberSymbol` to create method…
gabritto 4d2d476
update type of addNewNodeForMemberSymbol
gabritto c608a6e
add more tests and support more cases
gabritto 2fa43e8
add more tests and fix some details
gabritto 1d04720
wip: more fixes and tests
gabritto 905caad
expose check override modifier in checker
gabritto 8ad4042
fix test
gabritto d20eb68
WIP: add snippet support
gabritto c81f385
WIP: snippet support on emitter, adding snippets in completions
gabritto b124c84
make add snippets work with overloads (not synced)
gabritto db408cc
fix snippet adding
gabritto d7809c1
rebase
gabritto 41a3c19
WIP: try to add snippet escaping in emitter
gabritto 69ee9fc
support escaping in snippets
gabritto c3a64bc
small fixes; fixed tests
gabritto e079f71
more tests and fixes
gabritto d7c26c4
fix new tests
gabritto fe4fce8
fix modifier inheritance for overloads
gabritto b8bb27a
Merge branch 'main' into gabritto/issue45670
gabritto 952aac1
merge conflict fixes; remove comments
gabritto 00dc206
throw error if setOptions is called but not implemented
gabritto 28539b6
fix newline handling
gabritto 01eb2bb
fix weird stuff
gabritto 70ebe86
fix tests
gabritto e76c18d
fix more tests
gabritto 35c1ea3
Fix unbound host.getNewLine
andrewbranch a639aef
fix isParameterDeclaration changes
gabritto 4571e98
rename diagnostic to status and remove snippets from public api
gabritto 3a6b6bf
rename emitter functions + fix indentation
gabritto 302c0fc
check completion kind before calling isclasslikemembercompletion
gabritto 7bdeaa8
fix missing type parameters
gabritto 68e5913
Revert "fix missing type parameters"
gabritto d796043
add isAmbient flag to addNewNodeForMemberSymbol
gabritto f6ea5f2
add test for abstract overloads
gabritto 221edac
refactor snippet escaping support
gabritto 8e9cac9
add user preference flag for enabling class member snippets
gabritto c5f1166
update API baseline
gabritto a2665d8
update tabstop order
gabritto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.