Skip to content
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

Suggest field name in completion of options in record fields #766

Merged
merged 2 commits into from
Apr 28, 2023

Conversation

zth
Copy link
Collaborator

@zth zth commented Apr 27, 2023

This adds a Some(fieldName) case to completion when completing an option from a record field.

Useful when you want to extract as variable whatever's in an option of a record field when pattern matching, and you typically end up calling that variable the same as the record field name anyway.

@zth zth force-pushed the suggest-field-name-in-completion branch from 0b440ee to af860e3 Compare April 27, 2023 19:11
@zth zth requested a review from cristianoc April 27, 2023 19:11
@zth zth merged commit 7482e1d into master Apr 28, 2023
@zth zth deleted the suggest-field-name-in-completion branch April 28, 2023 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants