All Projects → atom → Autocomplete Plus

atom / Autocomplete Plus

Licence: mit
View and insert possible completions in the editor while typing

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Autocomplete Plus

Elasticsuite
Smile ElasticSuite - Magento 2 merchandising and search engine built on ElasticSearch
Stars: ✭ 647 (-31.1%)
Mutual labels:  autocomplete
Use Places Autocomplete
😎 📍 React hook for Google Maps Places Autocomplete.
Stars: ✭ 739 (-21.3%)
Mutual labels:  autocomplete
Arduino Pro Ide
The Arduino IDE for advanced users and developers. Experimental alpha version.
Stars: ✭ 917 (-2.34%)
Mutual labels:  autocomplete
Autocompletefield
Subclass of UITextField that shows inline suggestions while typing.
Stars: ✭ 656 (-30.14%)
Mutual labels:  autocomplete
Selectpage
A simple style and powerful selector, including ajax remote data, autocomplete, pagination, tags, i18n and keyboard navigation features
Stars: ✭ 679 (-27.69%)
Mutual labels:  autocomplete
Tabnine Vscode
Visual Studio Code client for TabNine. https://marketplace.visualstudio.com/items?itemName=TabNine.tabnine-vscode
Stars: ✭ 770 (-18%)
Mutual labels:  autocomplete
Bit
Bit is a modern Git CLI
Stars: ✭ 5,723 (+509.48%)
Mutual labels:  autocomplete
Autosuggest Trie
Minimalistic trie implementation for autosuggest and autocomplete components
Stars: ✭ 22 (-97.66%)
Mutual labels:  autocomplete
Minisearch
Tiny and powerful JavaScript full-text search engine for browser and Node
Stars: ✭ 737 (-21.51%)
Mutual labels:  autocomplete
Sublimeallautocomplete
Extend Sublime autocompletion to find matches in all open files of the current window
Stars: ✭ 906 (-3.51%)
Mutual labels:  autocomplete
React Autosuggest
WAI-ARIA compliant React autosuggest component
Stars: ✭ 5,773 (+514.8%)
Mutual labels:  autocomplete
Insignia
🔖 Customizable tag input. Progressive. No non-sense!
Stars: ✭ 665 (-29.18%)
Mutual labels:  autocomplete
Python autocomplete
A simple neural network for python autocompletion
Stars: ✭ 779 (-17.04%)
Mutual labels:  autocomplete
Kotlin Language Server
Intelligent Kotlin support for any editor/IDE using the Language Server Protocol
Stars: ✭ 650 (-30.78%)
Mutual labels:  autocomplete
Vscode Laravel Extra Intellisense
This extension adds extra autocompletion for laravel projects to VSCode.
Stars: ✭ 909 (-3.19%)
Mutual labels:  autocomplete
Zsh Autocomplete
🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
Stars: ✭ 641 (-31.74%)
Mutual labels:  autocomplete
Vue Tags Input
A tags input component for VueJS
Stars: ✭ 761 (-18.96%)
Mutual labels:  autocomplete
Bootstrap3 autocomplete input
Autocomplete/typeahead input with Bootstrap 3 and Rails 4. Works with SimpleForm
Stars: ✭ 25 (-97.34%)
Mutual labels:  autocomplete
Autoprompt
Auto complete command prompts for C# .Net console apps
Stars: ✭ 22 (-97.66%)
Mutual labels:  autocomplete
Idea Php Symfony2 Plugin
IntelliJ IDEA / PhpStorm Symfony Plugin
Stars: ✭ 797 (-15.12%)
Mutual labels:  autocomplete

Autocomplete+ package

macOS Build Status Windows Build status Dependency Status

Displays possible autocomplete suggestions on keystroke (or manually by typing ctrl-space) and inserts a suggestion in the editor if confirmed.

autocomplete+

Changelog

Installation

autocomplete+ is bundled with Atom. You don't have to do anything to install it.

Providers

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/autocomplete-plus/wiki/Autocomplete-Providers

Usage

Just type some stuff, and autocomplete+ will automatically show you some suggestions. Press UP and DOWN to select another suggestion, press TAB or ENTER to confirm your selection. You can change the default keymap in Preferences:

  • Keymap For Confirming A Suggestion

Additionally, the confirm keymap can be customized in your keymap.cson:

'atom-text-editor.autocomplete-active':
  'tab': 'unset!'
  'ctrl-shift-a': 'autocomplete-plus:confirm'

If setting custom keybindings, use the none setting for the confirmation keymap. All this option does is not set any other keybindings. This allows the TAB and ENTER keys to be used like normal, without side effects.

Remapping Movement Commands

By default, autocomplete-plus commandeers the editor's core movement commands when the suggestion list is open. You may want to change these movement commands to use your own keybindings.

First you need to set the autocomplete-plus.useCoreMovementCommands setting to false, which you can do from the autocomplete-plus settings in the settings view.

core-movement

Or by adding this to your config file:

"*":
  "autocomplete-plus":
    "useCoreMovementCommands": false

Then add these to your keymap file:

'body atom-text-editor.autocomplete-active':
  'ctrl-p': 'autocomplete-plus:move-up'
  'ctrl-n': 'autocomplete-plus:move-down'
  'pageup': 'autocomplete-plus:page-up'
  'pagedown': 'autocomplete-plus:page-down'
  'home': 'autocomplete-plus:move-to-top'
  'end': 'autocomplete-plus:move-to-bottom'

Features

  • Shows suggestions while typing
  • Includes a default provider (SymbolProvider):
    • Wordlist generation happens when you open a file, while editing the file, and on save
    • Suggestions are calculated using fuzzaldrin
  • Exposes a provider API which can be used to extend the functionality of the package and provide targeted / contextually correct suggestions
  • Disable autocomplete for file(s) via blacklisting, e.g. *.md to blacklist Markdown files
  • Disable autocomplete for editor scope(s) via blacklisting
  • Expands a snippet if an autocomplete+ provider includes one in a suggestion
  • Allows external editors to register for autocompletions

Provider API

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.

Read the Provider API documentation to learn how to create a new autocomplete provider.

SymbolProvider Configuration

If the default SymbolProvider is missing useful information for the language / grammar you're working with, please take a look at the SymbolProvider Config API.

The watchEditor API

The watchEditor method on the AutocompleteManager object is exposed as a provided service, named autocomplete.watchEditor. The method allows external editors to register for autocompletions from providers with a given set of labels. Disposing the returned object will undo this request. External packages can access this service with the following code.

In package.json:

{
  "consumedServices": {
    "autocomplete.watchEditor": {
      "versions": {
        "1.0.0": "consumeAutocompleteWatchEditor"
      }
    }
  }
}

In the main module file:

consumeAutocompleteWatchEditor(watchEditor) {
  this.autocompleteDisposable = watchEditor(
    this.editor, ['symbol-provider']
  )
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].