@codemirror/autocomplete
Advanced tools
Changelog
6.16.1 (2024-05-29)
Fix a bug where multiple backslashes before a brace in a snippet were all removed.
Changelog
6.16.0 (2024-04-12)
The new activateOnCompletion
option allows autocompletion to be configured to chain completion activation for some types of completions.
Changelog
6.15.0 (2024-03-13)
The new filterStrict
option can be used to turn off fuzzy matching of completions.
Changelog
6.14.0 (2024-03-10)
Completion results can now define a map
method that can be used to adjust position-dependent information for document changes.
Changelog
6.13.0 (2024-02-29)
Completions may now provide 'commit characters' that, when typed, commit the completion before inserting the character.
Changelog
6.12.0 (2024-01-12)
Make sure snippet completions also set userEvent
to input.complete
.
Fix a crash when the editor lost focus during an update and autocompletion was active.
Fix a crash when using a snippet that has only one field, but multiple instances of that field.
The new activateOnTypingDelay
option allows control over the debounce time before the completions are queried when the user types.
Changelog
6.11.1 (2023-11-27)
Fix a bug that caused typing over closed brackets after pressing enter to still not work in many situations.
Changelog
6.11.0 (2023-11-09)
Fix an issue that would prevent typing over closed brackets after starting a new line with enter.
Additional elements rendered in completion options with addToOptions
are now given access to the editor view.
Changelog
6.10.2 (2023-10-13)
Fix a bug that caused updateSyncTime
to always delay the initial population of the tooltip.