This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Releases: atom/autocomplete-plus
Releases · atom/autocomplete-plus
v2.0.5
v2.0.4
- 🎨 General code cleanup
- ⬇️ Prevent providers taking a
package.json
dependency onautocomplete-plus
from registering providers - please migrate to the new API: https://github.com/atom-community/autocomplete-plus/wiki/Provider-API - 🐇 Speed up package load time (we're not done yet)
v2.0.3
v2.0.2
- Handle suggestion prefixes better
v2.0.1
v2.0.0
This release represents the culmination of a complete rewrite of autocomplete+
.
New
- 🆕 v1.0.0
Provider API
based onservice-hub
- 🆕 Document acceptable properties in an anonymous object for a suggestion
- 🆕 Allow Providers to be asynchronous in providing suggestions back to
AutocompleteManager
- 🆕 Add logic to determine which provider(s) to invoke based on the scope for the current cursor's position
- 🆕 Add logic to determine the correct order of suggestions from providers based on the specificity of the scope provided during provider registration
- 🆕 Filter suggestions to remove duplicates (#84)
- 🆕 Introduce a blacklist based on selector(s)
- 🆕 Allow providers to blacklist themselves for selector(s)
- 🆕 Allow providers to suppress the built-in provider (
FuzzyProvider
) for selector(s)
Improved
- Deprecate legacy
Provider
API - Evolve the options object passed to
Providers
to allow providers to be completely decoupled from the editor (so they can be singleton also) - Rename
select-list-element
tosuggestion-list-element
- Add
suggestion-list
- Modify
main.coffee
to manage a singleAutocompleteManager
instance - Track provider registrations using
scoped-property-store
- Modify legacy provider registration functions to discard editor binding during provider registration
- Determine scope(s) for editor provided during legacy provider registration
- Manage a single instance of
suggestion-list-element
across editors - Ensure decoration and view migrate across editors without problems
- Make modest FuzzyProvider enhancements
- Deprecate
Provider
andSuggestion
classes
Fixed
v1.1.0
- In
autocomplete-plus
preferences, you can now choose choosetab
,enter
, ortab and enter
for confirming a suggestion; these can still be overridden via your keymap, but you need to use a different selector than you might have in the past (atom-text-editor:not(mini) .autocomplete-plus.autocomplete-suggestion-list
):
'atom-text-editor:not(mini) .autocomplete-plus.autocomplete-suggestion-list':
'tab': 'unset!'
'enter': 'autocomplete-plus:confirm'
- In
autocomplete-plus
preferences, you can now choose chooseup,down
orctrl-p,ctrl-n
for moving up and down in the suggestion list; these can still be overridden via your keymap, but you need to use a different selector than you might have in the past (atom-text-editor:not(mini) .autocomplete-plus.autocomplete-suggestion-list
):
'atom-text-editor:not(mini) .autocomplete-plus.autocomplete-suggestion-list':
'up': 'unset!'
'down': 'unset!'
'ctrl-p': 'autocomplete-plus:select-previous'
'ctrl-n': 'autocomplete-plus:select-next'
- In
autocomplete-plus
preferences, you can now setMaximum Suggestions
to limit the number of suggestions provided byautocomplete-plus
(the default is 10 - Preferences now have labels, descriptions, and are ordered
up
anddown
now work when you only have one suggestion in the suggestion list (fixes #173)autocomplete-spec.coffee
has been broken up into smaller units
v1.0.0
This release makes many internal changes to prepare for significant evolution of autocomplete-plus:
- Rename
Autocomplete
toAutocompleteManager
- Split model and view apart
- Switch from
space-pen
toHTMLElement
for the view - Fix Atom 1.0 API deprecations
- Code cleanup
v0.22.14
v0.22.13
Fix View require and editor value which may affect provider use old Api, see yongkangchen/atom-ctags#33