Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plain text autocomplete in Atom (Github)

I've auto-complete and auto-complete+ installed on the latest version of Atom. Unfortunately, these packages don't auto-complete or suggest words while typing plain text as open office or some sublime packages do.

For instance, if I am typing repo and the word repository already appears in the current document, I would like to have some sort of auto-completion / intellisense to show up.

I looked, in vain, for package in atom achieving that.

So, the question is, do you know any package to do that in atom or any intuitions on how to create it ?

Thanks.

like image 975
Mathieu Nls Avatar asked Oct 24 '15 16:10

Mathieu Nls


People also ask

How do I enable autocomplete in Atom?

If you want more options, in the Settings panel for the autocomplete-plus package you can toggle a setting to make autocomplete-plus look for text in all your open buffers rather than just the current file. The Autocomplete functionality is implemented in the autocomplete-plus package.

Why is autocomplete not working in Atom?

If you are experiencing issues with Atom automatically inserting text into your buffer for you, open Atom's package manager and search for the autocomplete-plus package. Open its settings and ensure that the "Automatically Confirm Single Suggestion" checkbox is unchecked.

How do you autofill an HTML Atom?

Usage. Finally, press: alt + tab or, right click and do Run HTML Tag AutoComplete . You will also find it available under Packages in menubar.


1 Answers

Actually the autocomplete-plus package should do exactly what you want. By default it looks in the current document, but you can enable "Include completions from all buffers" to get completions from all open buffers.

A few suggestions why it does not work:

  1. Make sure "Enable built-in provider" is activated in the autocomplete-plus settings
  2. The package let's you choose between two "Default Providers", Fuzzy and Symbol. Try both (for me Symbol works fine)
  3. Make sure the file type you use does support autocompletion and is not blacklisted, see this question for details
  4. Maybe the autocomplete package interferes with autocomplete-plus. Try disabling or uninstalling autocomplete
like image 160
phw Avatar answered Sep 17 '22 09:09

phw