-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[SourceKit] Add an option to sort completion result #30653
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
[SourceKit] Add an option to sort completion result #30653
Conversation
@swift-ci Please test |
Build failed |
Build failed |
668c246
to
54552f7
Compare
swiftlang/sourcekit-lsp#258 |
// RUN: %FileCheck -check-prefix=NAME_SORTED %s < %t.orig | ||
// RUN: %FileCheck -check-prefix=NAME_UNSORTED %s < %t.orig.off |
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.
How about adding a diff
check for %t.orig
vs %t.orig.off
to ensure we got different behavior?
I suspect the test will still pass even if both invocations end up sorting the results.
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.
I suspect the test will still pass even if both invocations end up sorting the results.
Right.
I will add the diff
test.
Defaults to false rdar://problem/60799439
54552f7
to
4294672
Compare
@swift-ci Please smoke test |
swiftlang/sourcekit-lsp#258 |
swiftlang/sourcekit-lsp#258 |
Defaults to false
rdar://problem/60799439