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

[SR-6454] autocomplete fails if statement #49004

Open
swift-ci opened this issue Nov 22, 2017 · 0 comments
Open

[SR-6454] autocomplete fails if statement #49004

swift-ci opened this issue Nov 22, 2017 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code completion Area → source tooling: code completion source tooling Area: IDE support, SourceKit, and other source tooling

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-6454
Radar None
Original Reporter rayfix (JIRA User)
Type Bug
Environment

Xcode Version 9.1 (9B55)

macOS 10.12.6

Additional Detail from JIRA
Votes 0
Component/s CodeCompletion
Labels Bug
Assignee None
Priority Medium

md5: 81f3b3d3a2849d3bed3c1a74a8236f25

Issue Description:

To reproduce:

  1. Open a new playground in Xcode Version 9.1 (9B55)

  2. Type in let object = String()

  3. type "if" and hit tab for code completion

You don't get Swift code completion for the if statement.

By contrast, if you add a semicolon to the end of let object = String(); On the next line "if" correctly code completes.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the source tooling Area: IDE support, SourceKit, and other source tooling label Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code completion Area → source tooling: code completion source tooling Area: IDE support, SourceKit, and other source tooling
Projects
None yet
Development

No branches or pull requests

2 participants