-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[CodeCompletion] Annotate override completions #38453
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
[CodeCompletion] Annotate override completions #38453
Conversation
@swift-ci Please smoke test |
1 similar comment
@swift-ci Please smoke test |
94df989
to
e8dc2f5
Compare
e8dc2f5
to
6c5b3f2
Compare
6c5b3f2
to
fd8156b
Compare
318ef74
to
c7f1958
Compare
@swift-ci Please smoke test |
@benlangmuir This is still WIP (need to add test cases, cosmetic changes) but could you take a look and give me some initial feedback? 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly LGTM; a few suggestions and questions.
c7f1958
to
2499c98
Compare
8b914e7
to
0ca9440
Compare
0ca9440
to
1ce4f12
Compare
* "description" for override completion is now annotatable * "description" doesn't include attributes and decl introducer, but it includes generic paramters, effects specifiers, result type clause, and generic where clauses * "name" now only include the name and the parameter names * "sourcetext" should be the same rdar://63835352
1ce4f12
to
7e7b2c3
Compare
@swift-ci Please smoke test |
@swift-ci Please test Linux |
Implement
CodeCompletionStringPrinter
to print override completion item toCodeCompletionResultBuilder
with appropriateChunkKind
. Added various groupChunkKind
for differentiatingdescription
,name
, andsourcetext
.rdar://63835352