Giter VIP home page Giter VIP logo

Comments (5)

chendo avatar chendo commented on September 25, 2024

Since #5, the plugin always selects the shortest match first, as it previously it would sometimes select a match that was longer than the desired match, making people use the arrow keys to get there. With shortest first, you can always type a bit more to match what you want. You could use _tlab to probably get a solid match on _titleLabel in that case.

from fuzzyautocompleteplugin.

slazyk avatar slazyk commented on September 25, 2024

@iosengineer the scoring function has changed in 2.0, you should now get what you expect with this query.

There's also an option to force all matches to be 'anchored' with prefixes of some length.

If you're still seeing unexpected results scored too high you can tweak the scoring function parameters in the settings window. In the case you're describing, parameters you might want to bump up would be 'Match' which promotes fewer longer matches (1 match of 4 vs 2 of 3 and 1 in your example) and/or 'Prefix' which gives a bonus to the matches starting at the beginning of the completion. Or you could just decrease the values of the other two.

from fuzzyautocompleteplugin.

ethereal-engineer avatar ethereal-engineer commented on September 25, 2024

Thanks @slazyk! Will it be available immediately via Alcatraz?

from fuzzyautocompleteplugin.

slazyk avatar slazyk commented on September 25, 2024

Yes @iosengineer 2.0 update is available in Alcatraz

from fuzzyautocompleteplugin.

ethereal-engineer avatar ethereal-engineer commented on September 25, 2024

OMG. Drool. It's even better than I imagined! Where do I donate?

from fuzzyautocompleteplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.