@codemirror/autocomplete
Advanced tools
Changelog
6.4.0 (2022-12-14)
Fix an issue where the extension would sometimes try to draw a disabled dialog at an outdated position, leading to plugin crashes.
A tooltipClass
option to autocompletion can now be used to add additional CSS classes to the completion tooltip.
Changelog
6.3.4 (2022-11-24)
Fix an issue where completion lists could end up being higher than the tooltip they were in.
Changelog
6.3.3 (2022-11-18)
Set an explicit box-sizing
style on completion icons so CSS resets don't mess them up.
Allow closing braces in templates to be escaped with a backslash.
Changelog
6.3.2 (2022-11-15)
Fix a regression that could cause the completion dialog to stick around when it should be hidden.
Changelog
6.3.1 (2022-11-14)
Fix a regression where transactions for picking a completion (without custom apply
method) no longer had the pickedCompletion
annotation.
Reduce flickering for completion sources without validFor
info by temporarily showing a disabled tooltip while the completion updates.
Make sure completion info tooltips are kept within the space provided by the tooltipSpace
option.
Changelog
6.3.0 (2022-09-22)
Close bracket configuration now supports a stringPrefixes
property that can be used to allow autoclosing of prefixed strings.
Changelog
6.2.0 (2022-09-13)
Autocompletion now takes an interactionDelay
option that can be used to control the delay between the time where completion opens and the time where commands like acceptCompletion
affect it.
Changelog
6.1.1 (2022-09-08)
Fix a bug that prevented transactions produced by deleteBracketPair
from being marked as deletion user events.
Improve positioning of completion info tooltips so they are less likely to stick out of the screen on small displays.
Changelog
6.1.0 (2022-07-19)
You can now provide a compareCompletions
option to autocompletion to influence the way completions with the same match score are sorted.
The selectOnOpen
option to autocompletion can be used to require explicitly selecting a completion option before acceptCompletion
does anything.