-
Notifications
You must be signed in to change notification settings - Fork 57
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
Complete function argument values #665
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
a1c0595
add base test for what we're looking to complete
zth f3dbd68
add test cases and identify arguments for completion
zth 1bbb35f
refactor in prep for reuse
zth 3d1a03e
add utils for extracting relevant completion information from type expr
zth 06e25c7
complete bools as arguments
zth 284ecb4
remove things from type extraction that will be added in separate PRs
zth ecc1693
complete regular variants
zth 8fb62d3
add failing tests for optionals
zth 0546ce4
basic completion for opts
zth ac348bb
expand options where it makes sense
zth 379dd1a
remove unused test case
zth 7b66a3d
make sure payloads (with any as placeholder) are printed for each con…
zth 840cdb5
add failing test demonstrating issue with parser
zth 8ec981a
include local values and modules in type based completions when there…
zth 8d261be
fix full variant completion item text
zth 6d10c56
add more cases to tests
zth 17832b5
add = as trigger character for completion
zth f0e894e
cleanup
zth 41191a8
cleanup
zth 8755a92
comment + clarify prop name
zth aebffa4
polish test output a bit
zth e5a0950
only pick up regular Lident
zth 8d81bc8
use env where completion started to populate values and module comple…
zth 9856c30
common filter
zth 2216856
fix triggering value completion vs named arg ambiguity
zth 0774fc0
handle piped fn calls properly
zth 619d7ec
move broken parser cases to its own file
zth 5995f45
only expand options on optional arguments, not all labelled arguments
zth 0f62611
add changelog
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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is mostly copied from a pre-existing fn, but with identifying what type of argument is found (labelled or unlabelled).