@codemirror/autocomplete
Advanced tools
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.
Changelog
6.8.0 (2023-06-12)
The result of Completion.info
may now include a destroy
method that will be called when the tooltip is removed.
Changelog
6.7.1 (2023-05-13)
Fix a bug that cause incorrect ordering of completions when some results covered input text and others didn't.
Changelog
6.7.0 (2023-05-11)
The new hasNextSnippetField
and hasPrevSnippetField
functions can be used to figure out if the snippet-field-motion commands apply to a given state.
Changelog
6.6.1 (2023-05-03)
Fix a bug that made the editor use the completion's original position, rather than its current position, when changes happened in the document while a result was active.