Skip to content

[SourceKit] Adjust result sorting in complete.open/update #37095

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

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Apr 27, 2021

  • Boost case-sensitive exact prefix matches
  • Increase the weight of text match score

rdar://77164709

@rintaro rintaro marked this pull request as draft April 27, 2021 21:54
When there are symbols 'Label' and 'label', if a user type 'Lab',
'Label' should be prioritized.

rdar://77164709
@rintaro rintaro force-pushed the sourcekit-completion-rdar77164709 branch from 4a8e1f3 to 75ff948 Compare April 28, 2021 05:32
@rintaro
Copy link
Member Author

rintaro commented Apr 28, 2021

@swift-ci Please test

@rintaro rintaro marked this pull request as ready for review April 28, 2021 14:42
@rintaro rintaro requested a review from benlangmuir April 28, 2021 14:42
@rintaro rintaro changed the title [WIP][SourceKit] Adjust result sorting in complete.open/update [SourceKit] Adjust result sorting in complete.open/update Apr 28, 2021
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