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

Sort the hints. #24

Closed
yangchenlarkin opened this issue Feb 20, 2014 · 3 comments
Closed

Sort the hints. #24

yangchenlarkin opened this issue Feb 20, 2014 · 3 comments

Comments

@yangchenlarkin
Copy link

I found that the hints is not sorted very well. When I type "vie", "_view" appears as the default hint instead of "view". I think the exactly matched words should be put before the fuzzy ones.

@lancep
Copy link
Contributor

lancep commented Feb 20, 2014

👍

@chendo
Copy link
Member

chendo commented Mar 22, 2014

The plugin just uses Xcode's priority system as well as their fuzzy matcher. I can't change how it works without a lot of work. However, I removed the shortest match prioritisation in 1.6 which should make matching better overall.

@slazyk
Copy link
Member

slazyk commented Apr 16, 2014

As of 2.0 the scoring function changed and prefix matches (like view) have an additional score bonus. The scoring function parameters can be additionally tweaked in settings.

@slazyk slazyk closed this as completed Apr 28, 2014
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

No branches or pull requests

4 participants