aqzhyi / Sublime-Better-Completion

手刻的浪漫 DEPRECATED, use TypeScript!
338 stars 75 forks source link

[Question] Why Better Completion better than default Sublime Text completions? #37

Open Kristinita opened 7 years ago

Kristinita commented 7 years ago

1. Briefly

I don't understand, why Better Completion better than default Sublime Text completions. It would be nice, if you add examples, where Better Completion better than default Sublime Text completions.

2. Detail

I understand, why Better Completions better than Sublime Text snippets — user can save all completions for scopes in one file. User don't need to create a lot of files → it spends user time.

I don't understand, why your package better than default sublime-completions files? I get same behavior.

3. Did not help

  1. Yes, I read description of package and #3 issue. But I do not understand the meant. No one example :crying_cat_face:.

Thanks.

deathaxe commented 7 years ago

I guess the one and only fact might be the following:

Basically there are 4 sources for auto-completions:

  1. plugins
  2. *.snippets
  3. *.sublime-completions
  4. words found in a view.

If the default auto-completion of ST finds entries to show in 1. - 3., it omits 4. (words from the view). If 1. - 3. don't have anything to offer for you, ST lists best matching words found in the current view.

This package always shows entries from 1. - 4.

If this is better than the default is a question of taste.