Skip to content

[CodeCompletion] Add keyword completion for 'some', 'any', 'repeat', and 'each' #70014

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 1 commit into from
Dec 6, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Nov 24, 2023

The implementation is not 100% perfect (it suggests repeat and each in places where they aren’t semantically valid) but I don’t think it’s worth putting too much effort into it passing more information down in the parser if 'repeat' and 'each' are valid if we are going to remove the current parser anyway.

rdar://95725895

@ahoppen
Copy link
Member Author

ahoppen commented Nov 24, 2023

@swift-ci Please smoke test

1 similar comment
@ahoppen
Copy link
Member Author

ahoppen commented Nov 29, 2023

@swift-ci Please smoke test

@ahoppen ahoppen marked this pull request as ready for review November 29, 2023 19:30
@ahoppen ahoppen force-pushed the ahoppen/some-any-completion branch from f1a5e89 to 7637263 Compare November 30, 2023 18:32
@ahoppen
Copy link
Member Author

ahoppen commented Nov 30, 2023

@swift-ci Please smoke test

…and 'each'

The implementation is not 100% perfect but I don’t think it’s worth putting too much effort into it passing more information down in the parser if 'repeat' and 'each' are valid if we are going to remove the current parser anyway.

rdar://95725895
@ahoppen ahoppen force-pushed the ahoppen/some-any-completion branch from 7637263 to 9cb2a24 Compare December 4, 2023 23:20
@ahoppen
Copy link
Member Author

ahoppen commented Dec 4, 2023

@swift-ci Please smoke test

1 similar comment
@ahoppen
Copy link
Member Author

ahoppen commented Dec 5, 2023

@swift-ci Please smoke test

@ahoppen ahoppen merged commit db8ca19 into swiftlang:main Dec 6, 2023
@ahoppen ahoppen deleted the ahoppen/some-any-completion branch December 6, 2023 00:24
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