Socket
Socket
Sign inDemoInstall

@codemirror/autocomplete

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/autocomplete - npm Package Versions

1
8

6.0.1

Diff

Changelog

Source

6.0.1 (2022-06-09)

Bug fixes

Support escaping ${ or #{ in snippets.

marijn
published 6.0.0 •

Changelog

Source

6.0.0 (2022-06-08)

Bug fixes

Scroll the cursor into view when inserting a snippet.

marijn
published 0.20.3 •

Changelog

Source

0.20.3 (2022-05-30)

Bug fixes

Add an aria-label to the completion listbox.

Fix a regression that caused transactions generated for completion to not have a userEvent annotation.

marijn
published 0.20.2 •

Changelog

Source

0.20.2 (2022-05-24)

New features

The package now exports an insertCompletionText helper that implements the default behavior for applying a completion.

marijn
published 0.20.1 •

Changelog

Source

0.20.1 (2022-05-16)

New features

The new closeOnBlur option determines whether the completion tooltip is closed when the editor loses focus.

CompletionResult objects with filter: false may now have a getMatch property that determines the matched range in the options.

marijn
published 0.20.0 •

Changelog

Source

0.20.0 (2022-04-20)

Breaking changes

CompletionResult.span has been renamed to validFor, and may now hold a function as well as a regular expression.

Bug fixes

Remove code that dropped any options beyond the 300th one when matching and sorting option lists.

Completion will now apply to all cursors when there are multiple cursors.

New features

CompletionResult.update can now be used to implement quick autocompletion updates in a synchronous way.

The @codemirror/closebrackets package was merged into this one.

marijn
published 0.19.15 •

Changelog

Source

0.19.15 (2022-03-23)

New features

The selectedCompletionIndex function tells you the position of the currently selected completion.

The new setSelectionCompletion function creates a state effect that moves the selected completion to a given index.

A completion's info method may now return null to indicate that no further info is available.

marijn
published 0.19.14 •

Changelog

Source

0.19.14 (2022-03-10)

Bug fixes

Make the ARIA attributes added to the editor during autocompletion spec-compliant.

marijn
published 0.19.13 •

Changelog

Source

0.19.13 (2022-02-18)

Bug fixes

Fix an issue where the completion tooltip stayed open if it was explicitly opened and the user backspaced past its start.

Stop snippet filling when a change happens across one of the snippet fields' boundaries.

marijn
published 0.19.12 •

Changelog

Source

0.19.12 (2022-01-11)

Bug fixes

Fix completion navigation with PageUp/Down when the completion tooltip isn't part of the view DOM.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc