Autocompletion for the CodeMirror code editor
Last release 2 months ago
03 Jun 2026
Release timing varies
gaps range from 2 weeks to 7 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
89 releases · first in 2020
Release timeline
89 releases since 2020One column per quarter.
Releases
- 0.19.1410 Mar 2022
Release notes2 sources agree
Open source →Bug fixes
Make the ARIA attributes added to the editor during autocompletion spec-compliant.
- 0.19.1318 Feb 2022
Release notes2 sources agree
Open source →Bug fixes
Fix an issue where the completion tooltip stayed open if it was explicitly opened and the user backspaced past its start.
Stop snippet filling when a change happens across one of the snippet fields' boundaries.
- 0.19.1211 Jan 2022
Release notes2 sources agree
Open source →Bug fixes
Fix completion navigation with PageUp/Down when the completion tooltip isn't part of the view DOM.
- 0.19.1111 Jan 2022
Release notes2 sources agree
Open source →Bug fixes
Fix a bug that caused page up/down to only move the selection by two options in the completion tooltip.
- 0.19.105 Jan 2022
Release notes2 sources agree
Open source →Bug fixes
Make sure the info tooltip is hidden when the selected option is scrolled out of view.
Fix a bug in the completion ranking that would sometimes give options that match the input by word start chars higher scores than appropriate.
Options are now sorted (ascending) by length when their match score is otherwise identical.
- 0.19.926 Nov 2021
Release notes2 sources agree
Open source →Bug fixes
Fix an issue where info tooltips would be visible in an inappropriate position when there was no room to place them properly.
- 0.19.817 Nov 2021
Release notes2 sources agree
Open source →Bug fixes
Give the completion tooltip a minimal width, and show ellipsis when completions overflow the tooltip width.
New features
autocompletionnow accepts anaboveCursoroption to make the completion tooltip show up above the cursor. - 0.19.716 Nov 2021
Release notes2 sources agree
Open source →Bug fixes
Make option deduplication less aggressive, so that options with different
typeorapplyfields don't get merged. - 0.19.612 Nov 2021
Release notes2 sources agree
Open source →Bug fixes
Fix an issue where parsing a snippet with a field that was labeled only by a number crashed.
- 0.19.59 Nov 2021
Release notes2 sources agree
Open source →Bug fixes
Make sure info tooltips don't stick out of the bottom of the page.
New features
The package exports a new function
selectedCompletion, which can be used to find out which completion is currently selected.Transactions created by picking a completion now have an annotation (
pickedCompletion) holding the original completion. - 0.19.424 Oct 2021
Release notes2 sources agree
Open source →Bug fixes
Don't rely on the platform's highlight colors for the active completion, since those are inconsistent and may not be appropriate for the theme.
Fix incorrect match underline for some kinds of matched completions.
- 0.19.331 Aug 2021
Release notes2 sources agree
Open source →Bug fixes
Improve the sorting of completions by using
localeCompare.Fix reading of autocompletions in NVDA screen reader.
New features
The new
iconsoption can be used to turn off icons in the completion list.The
optionClassoption can now be used to add CSS classes to the options in the completion list.It is now possible to inject additional content into rendered completion options with the
addToOptionsconfiguration option. - 0.19.225 Aug 2021
Release notes2 sources agree
Open source →Bug fixes
Fix an issue where
completeAnyWordwould return results when there was no query andexplicitwas false. - 0.19.111 Aug 2021
- 0.19.011 Aug 2021
- 0.18.830 Jun 2021
Release notes2 sources agree
Open source →New features
Add an
ifInhelper function that constrains a completion source to only fire when in a given syntax node. Add support for unfiltered completionsA completion result can now set a
filter: falseproperty to disable filtering and sorting of completions, when it already did so itself. - 0.18.714 Jun 2021
Release notes2 sources agree
Open source →Bug fixes
Don't treat continued completions when typing after an explicit completion as explicit.
- 0.18.63 Jun 2021
Release notes2 sources agree
Open source →Bug fixes
Adding or reconfiguring completion sources will now cause them to be activated right away if a completion was active.
New features
You can now specify multiple types in
Completion.typeby separating them by spaces. Small doc comment tweak for Completion.type - 0.18.523 Apr 2021
Release notes2 sources agree
Open source →Bug fixes
Fix a regression where snippet field selection didn't work with @codemirror/state 0.18.6.
Fix a bug where snippet fields with different position numbers were inappropriately merged.
- 0.18.420 Apr 2021
Release notes2 sources agree
Open source →Bug fixes
Fix a crash in Safari when moving the selection during composition.
- 0.18.315 Mar 2021
Release notes2 sources agree
Open source →Bug fixes
Adjust to updated @codemirror/tooltip interface.
- 0.18.214 Mar 2021
Release notes2 sources agree
Open source →Bug fixes
Fix unintended ES2020 output (the package contains ES6 code again).
- 0.18.111 Mar 2021
Release notes2 sources agree
Open source →Bug fixes
Stop active completion when all sources resolve without producing any matches.
New features
Completion.infomay now return a promise. - 0.18.03 Mar 2021
Release notes2 sources agree
Open source →Bug fixes
Only preserve selected option across updates when it isn't the first option.
- 0.17.418 Jan 2021
Release notes2 sources agree
Open source →Bug fixes
Fix a styling issue where the selection had become invisible inside snippet fields (when using
drawSelection).New features
Snippet fields can now be selected with the pointing device (so that they are usable on touch devices).
- 0.17.318 Jan 2021
Release notes2 sources agree
Open source →Bug fixes
Fix a bug where uppercase completions would be incorrectly matched against the typed input.
- 0.17.212 Jan 2021
Release notes2 sources agree
Open source →Bug fixes
Don't bind Cmd-Space on macOS, since that already has a system default binding. Use Ctrl-Space for autocompletion.
- 0.17.16 Jan 2021
Release notes2 sources agree
Open source →New features
The package now also exports a CommonJS module.
- 0.17.029 Dec 2020