View and insert possible completions in the editor while typing
Note: In the example above,
Show Suggestions On Keystroke is enabled.
apm install autocomplete-plus
Preferences > Packages, search for
autocomplete-plus, and install it
autocomplete+ has a powerful autocomplete provider API, allowing provider authors to add language-specific behavior to this package.
You should definitely install additional providers (the default provider bundled with this package is somewhat crude): https://github.com/atom-community/autocomplete-plus/wiki/Autocomplete-Providers
Just type some stuff, and autocomplete+ will automatically show you some suggestions.
DOWN to select another suggestion, press
TAB to confirm your selection. You can change the default keymap in
Additionally, the keymap can be customized in your keymap.cson:
'atom-text-editor:not(mini).autocomplete-active':'tab': 'unset!''enter': 'autocomplete-plus:confirm''up': 'unset!''down': 'unset!''ctrl-p': 'autocomplete-plus:select-previous''ctrl-n': 'autocomplete-plus:select-next'
Great autocomplete depends on having great autocomplete providers. If there is not already a great provider for the language / grammar that you are working in, please consider creating a provider.
Provider API documentation to learn how to create a new autocomplete provider.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.