atom / autocomplete-plus

View and insert possible completions in the editor while typing
MIT License
960 stars 263 forks source link

"Subsequence" setting prevents autocomplete suggestion from all opening files buffer #923

Open POPOEVER opened 6 years ago

POPOEVER commented 6 years ago

Prerequisites

Description

The default settings of Default Provider: Subsequence in Atom 1.22.0 prevents the autocomplete suggestion from showing completions in all buffers, only suggestions exactly matching the typing. Switching to Symbol solves the problem.

Steps to Reproduce

  1. Open the files that have the completions you want to use for autocomplete suggestions.
  2. Type in files.
  3. Autocomplete doesn't give those completions from all opening files buffer.

Expected behavior: [What you expect to happen] When I type part of the word, it usually gives me suggestions based on the completions of all my openning files buffer

Actual behavior: [What actually happens] Only suggestions exactly matching my typing showed up

Reproduces how often: [What percentage of the time does it reproduce?] 100%

Versions

$ atom --version
Atom    : 1.22.0
Electron: 1.6.15
Chrome  : 56.0.2924.87
Node    : 7.4.0
$ apm --version
apm  1.18.8
npm  3.10.10
node 6.9.5 x64
python 2.7.10
git 2.13.5
$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.12.6
BuildVersion:   16G29

Additional Information

🍺

winstliu commented 6 years ago

/cc @leroix

Thanks for creating the issue @POPOEVER :)

POPOEVER commented 6 years ago

@50Wliu sorry about the delay, stuck in a busy day😓

leroix commented 6 years ago

@POPOEVER can you confirm that you have "Include Completions From All Buffers" enabled in your autocomplete-plus settings?

screen shot 2017-11-15 at 4 03 56 pm

rrobles9112 commented 6 years ago

I have the same problem do not autocomplete the characters of the open files, but I have solved changing from supplier to symbol but they lost the benefits that Subsequence brings

leroix commented 6 years ago

Hmm, we might need more details to reproduce. Generally, I'm receiving suggestions from other buffers. Also, please make sure that "Include Completions From All Buffers" is enabled.