Skip to content

Add token syntax editor placeholder #2186

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 4 commits into from
Sep 20, 2023

Conversation

kimdv
Copy link
Contributor

@kimdv kimdv commented Sep 13, 2023

Fixes #2147
Fixes #2156
Fixes #2178

We try again after #2183

I've added the test cases from #2150.

@kimdv kimdv requested a review from ahoppen as a code owner September 13, 2023 19:36
@kimdv kimdv force-pushed the kimdv/add-token-syntax-editor-placeholder branch from ae3d6ce to 6ebf0d2 Compare September 13, 2023 19:41
@kimdv kimdv force-pushed the kimdv/add-token-syntax-editor-placeholder branch from 6ebf0d2 to 0178ef2 Compare September 14, 2023 18:16
@kimdv
Copy link
Contributor Author

kimdv commented Sep 14, 2023

@ahoppen added more test cases.

@ahoppen ahoppen requested a review from rintaro September 14, 2023 21:19
@ahoppen
Copy link
Member

ahoppen commented Sep 14, 2023

CC @rintaro and @bnbarham if you have opinions on how the placeholders should be classified.

@bnbarham
Copy link
Contributor

This seems like the most reasonable route to me

Is the plan to remove EditorPlaceholderExprSyntax + EditorPlaceholderDeclSyntax in a later PR? Would involve some small fixes to the expansion refactoring, but nothing major.

@kimdv
Copy link
Contributor Author

kimdv commented Sep 15, 2023

This seems like the most reasonable route to me

Is the plan to remove EditorPlaceholderExprSyntax + EditorPlaceholderDeclSyntax in a later PR? Would involve some small fixes to the expansion refactoring, but nothing major.

Yes I would like to keep it in a separate PR

@kimdv kimdv force-pushed the kimdv/add-token-syntax-editor-placeholder branch from 0178ef2 to 19d6393 Compare September 16, 2023 20:02
@kimdv kimdv requested review from bnbarham and ahoppen September 16, 2023 20:03
@ahoppen
Copy link
Member

ahoppen commented Sep 19, 2023

@swift-ci Please test

@kimdv kimdv merged commit 2c847f8 into swiftlang:main Sep 20, 2023
@kimdv kimdv deleted the kimdv/add-token-syntax-editor-placeholder branch September 20, 2023 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants