Skip to content

Conversation

@rintaro
Copy link
Member

@rintaro rintaro commented Mar 18, 2019

rdar://problem/35943849

@rintaro
Copy link
Member Author

rintaro commented Mar 19, 2019

@swift-ci Please smoke test

}
// Begin completions
// KW_CASE-DAG: Keyword[case]/None: case; name=case
// KW_CASE-DAG: Keyword[default]/None: default; name=default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bonus points (starter bug?): refuse to private default unless the completion's happening at the end of the switch.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should implement syntactic context aware keyword completion mechanism. Currently we provide fallthrough, break, et al. even in top-level.

@rintaro
Copy link
Member Author

rintaro commented Mar 19, 2019

@swift-ci Please smoke test Linux platform.

@rintaro rintaro merged commit de65d30 into swiftlang:master Mar 19, 2019
@rintaro rintaro deleted the ide-completion-case-rdar35943849 branch March 26, 2019 00:05
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