• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

autocomplete-better-generic

Generic autocomplete provider with smarter and more aggressive heuristics than autocomplete-plus's built-in provider.
  • #autocomplete
brianhempel
1.7.0 116
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

autocomplete-better-generic package

This package improves upon the generic autocomplete-plus provider by using the following heuristics:

  1. To increase match quality, matches are sorted by their distance from the cursor.
  2. To offer longer completions, text fragments that appear twice in the source text may be offered as a completion even if the fragments contain non-word characters. Additionally, all short matches are autocompleted through an extra word.
  3. To extend matches, after a match is chosen, the next fragment of text at the match source is immediately offered as a completion.

At present, only the current buffer is searched for matches.

To use this package, simply install it. This provider will be active for all files. You will probably want to disable autocomplete-plus's default provider: uncheck "Enable Built-In Provider" in the autocomplete-plus settings.

Changelog

v1.7.0 Fix glitchy lag when typing spaces. Don't log suggestion time to developer console. v1.6.0 Initial release.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by