@codemirror/autocomplete
Advanced tools
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.
Changelog
6.10.1 (2023-10-11)
Fix a bug where picking a selection with the mouse could use the wrong completion if the completion list was updated after being opened.
Changelog
6.10.0 (2023-10-11)
The new autocompletion configuration option updateSyncTime
allows control over how long fast sources are held back waiting for slower completion sources.
Changelog
6.9.2 (2023-10-06)
Fix a bug in completeAnyWord
that could cause it to generate invalid regular expressions and crash.
Changelog
6.9.1 (2023-09-14)
Make sure the cursor is scrolled into view after inserting completion text.
Make sure scrolling completions into view doesn't get confused when the tooltip is scaled.
Changelog
6.9.0 (2023-07-18)
Completions may now provide a displayLabel
property that overrides the way they are displayed in the completion list.
Changelog
6.8.1 (2023-06-23)
acceptCompletion
now returns false (allowing other handlers to take effect) when the completion popup is open but disabled.