Skip to content

Conversation

@rintaro
Copy link
Member

@rintaro rintaro commented May 12, 2020

Cherry-pick of #31646 and #31637 into release/5.3 branch

  • Explanation: Add key.is_system flag to completion items if the associated symbol is declared in a system module. Enable XML annotation for key.typename property if annotation is enabled. Clients can use these information for syntax highlighting code completion results
  • Scope: Code completion
  • Risk: Low-Mid. Majority of changes are hidden in opt-in option.
  • Issue: rdar://problem/62617558
  • Testing: Regression tests are added
  • Reviewer: Ben Langmuir (@benlangmuir) and Argyrios Kyrtzidis (@akyrtzi)

rintaro added 5 commits May 12, 2020 12:44
'key.is_system: 1' is added if the associated declaration is from a
system module.

rdar://problem/62617558
(cherry picked from commit 75a0c9f)
Only check lines we really care about.

(cherry picked from commit f80fdfc)
Introduced 'TypeAnnotationBegin' chunk kind for grouping the result type
name chunks.

rdar://problem/62617558
(cherry picked from commit 7086ffb)
@rintaro rintaro added the r5.3 label May 12, 2020
@rintaro rintaro requested a review from a team as a code owner May 12, 2020 20:04
@rintaro
Copy link
Member Author

rintaro commented May 12, 2020

@swift-ci Please test

@rintaro
Copy link
Member Author

rintaro commented May 12, 2020

@swift-ci Please nominate

@rintaro rintaro merged commit de3a67a into swiftlang:release/5.3 May 12, 2020
@rintaro rintaro deleted the 5.3-ide-completion-rdar62617558 branch May 13, 2020 00:36
@AnthonyLatsis AnthonyLatsis added swift 5.3 🍒 release cherry pick Flag: Release branch cherry picks labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍒 release cherry pick Flag: Release branch cherry picks swift 5.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants