@codemirror/autocomplete
Advanced tools
Changelog
0.19.3 (2021-08-31)
Improve the sorting of completions by using localeCompare
.
Fix reading of autocompletions in NVDA screen reader.
The new icons
option can be used to turn off icons in the completion list.
The optionClass
option 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 addToOptions
configuration option.
Changelog
0.19.2 (2021-08-25)
Fix an issue where completeAnyWord
would return results when there was no query and explicit
was false.
Changelog
0.18.8 (2021-06-30)
Add an ifIn
helper function that constrains a completion source to only fire when in a given syntax node. Add support for unfiltered completions
A completion result can now set a filter: false
property to disable filtering and sorting of completions, when it already did so itself.
Changelog
0.18.7 (2021-06-14)
Don't treat continued completions when typing after an explicit completion as explicit.
Changelog
0.18.6 (2021-06-03)
Adding or reconfiguring completion sources will now cause them to be activated right away if a completion was active.
You can now specify multiple types in Completion.type
by separating them by spaces. Small doc comment tweak for Completion.type
Changelog
0.18.5 (2021-04-23)
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.
Changelog
0.18.4 (2021-04-20)
Fix a crash in Safari when moving the selection during composition.