autocomplete-plus icon indicating copy to clipboard operation
autocomplete-plus copied to clipboard

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

Open POPOEVER opened this issue 8 years ago • 5 comments

Prerequisites

  • [x] Put an X between the brackets on this line if you have done all of the following:
    • Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
    • Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
    • Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
    • Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
    • Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

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

🍺

POPOEVER avatar Nov 15 '17 19:11 POPOEVER

/cc @leroix

Thanks for creating the issue @POPOEVER :)

winstliu avatar Nov 15 '17 19:11 winstliu

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

POPOEVER avatar Nov 15 '17 19:11 POPOEVER

@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

leroix avatar Nov 15 '17 23:11 leroix

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

rrobles9112 avatar Nov 20 '17 15:11 rrobles9112

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.

leroix avatar Nov 20 '17 18:11 leroix