-
Notifications
You must be signed in to change notification settings - Fork 60
Initial pattern completion #670
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 all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
9a63a84
basic setup of some sort of structure, and complete tuple patterns
zth 112ee62
nested tuple
zth c18e7bf
start integrating completion for records
zth 352872f
complete record bodies/fields in patterns
zth 01516a6
handle completing for new record fields, and filtering already seen f…
zth 5f4d7e0
add test for patterns under other patterns, and handle unsetting what…
zth 3c7562c
identify and handle completing destructuring patterns
zth cc8412f
comments and cleanup
zth 4df242f
add nested destructure test
zth 26b0e68
fix
zth 779e1be
descend through variant payloads
zth d349f43
handle polyvariants
zth 72039e2
complete arrays in patterns
zth 57ba325
handle multiple payloads in variants/polyvariants via regular tuple h…
zth 3eb59e2
move from ast iterator to traversal function for finding completables…
zth 8e3baf5
ignore unused var
zth dda7fd4
handle options
zth 3ea5168
handle completing new items in constructor/variant payloads with mult…
zth 124509e
handle completing new items in tuples
zth 68e22db
add broken parser case
zth 23b7833
remove unused
zth 5976234
refactor and unify how pat tuple items are traversed
zth c601823
simplify setting completion pattern
zth a828e79
handle completing root switch case when theres more than one case
zth 11cb6ae
refactor
zth 9429664
handle ppat_or
zth a61f06b
handle or patterns (including broken patterns) in variant/polyvariant…
zth 3659013
changelog
zth bb63093
add way to use fallbacks when completing patterns, restoring old beha…
zth bba5805
refactor nested pattern completion handling in backend
zth 391d8d4
remove unecessary log
zth 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.