Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Releases: atom/autocomplete-plus

v2.0.5

04 Feb 17:17
Compare
Choose a tag to compare
  • 🐛 Fix issue when autosave.enabled config is set to true (fixes #221)

v2.0.4

04 Feb 17:20
Compare
Choose a tag to compare

v2.0.3

04 Feb 17:22
Compare
Choose a tag to compare
  • 🎨 General code cleanup
  • Fix #212

v2.0.2

04 Feb 17:22
Compare
Choose a tag to compare
  • Handle suggestion prefixes better

v2.0.1

28 Jan 16:15
Compare
Choose a tag to compare
  • 🐛 Ensure that strictMatching functions correctly when an editor exists with no text in it (Fixes #207)

v2.0.0

28 Jan 16:33
Compare
Choose a tag to compare

This release represents the culmination of a complete rewrite of autocomplete+.

New

  • 🆕 v1.0.0 Provider API
    based on service-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 to suggestion-list-element
  • Add suggestion-list
  • Modify main.coffee to manage a single AutocompleteManager 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 and Suggestion classes

Fixed

v1.1.0

30 Dec 23:18
Compare
Choose a tag to compare
  • In autocomplete-plus preferences, you can now choose choose tab, enter, or tab 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 choose up,down or ctrl-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 set Maximum Suggestions to limit the number of suggestions provided by autocomplete-plus (the default is 10
  • Preferences now have labels, descriptions, and are ordered
  • up and down 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

30 Dec 23:03
Compare
Choose a tag to compare

This release makes many internal changes to prepare for significant evolution of autocomplete-plus:

  • Rename Autocomplete to AutocompleteManager
  • Split model and view apart
  • Switch from space-pen to HTMLElement for the view
  • Fix Atom 1.0 API deprecations
  • Code cleanup

v0.22.14

30 Dec 03:46
Compare
Choose a tag to compare

Fix editor instance check: #166

v0.22.13

30 Dec 03:46
Compare
Choose a tag to compare

Fix View require and editor value which may affect provider use old Api, see yongkangchen/atom-ctags#33