简体   繁体   中英

How can I change the suggestion order/ scoring of the atom editor's autocomplete+ package

More specifically: how can I choose which order packages' autocomplete suggestions are displayed in?

Here is an example of autocomplete+'s suggestions when using the atom-typescript package:

带有打字稿包的 Atom 自动完成

and one when not:

没有打字稿包的原子自动完成

I want the if snippet shown in the latter image to also come first when using other packages such as the aforementioned typescript package.

I know that " suggestions are calculated using fuzzaldrin ", but also that the scoring is customizable to an extent using atom's config.cson file through the useAlternateScoring property among others.

autocomplete-plus currently doesn't have the ability for the user to manually influence the order in which items are sorted. - leedohm, moderator at atom discuss. (source)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM