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.7.1

Diff

Changelog

Source

6.7.1 (2023-05-13)

Bug fixes

Fix a bug that cause incorrect ordering of completions when some results covered input text and others didn't.

marijn
published 6.7.0 •

Changelog

Source

6.7.0 (2023-05-11)

New features

The new hasNextSnippetField and hasPrevSnippetField functions can be used to figure out if the snippet-field-motion commands apply to a given state.

marijn
published 6.6.1 •

Changelog

Source

6.6.1 (2023-05-03)

Bug fixes

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.

marijn
published 6.6.0 •

Changelog

Source

6.6.0 (2023-04-27)

Bug fixes

Fix a bug in insertCompletionText that caused it to replace the wrong range when a result set's to fell after the cursor.

New features

Functions returned by snippet can now be called without a completion object.

marijn
published 6.5.1 •

Changelog

Source

6.5.1 (2023-04-13)

Bug fixes

Keep completions open when interaction with an info tooltip moves focus out of the editor.

marijn
published 6.5.0 •

Changelog

Source

6.5.0 (2023-04-13)

Bug fixes

When closeBrackets skips a bracket, it now generates a change that overwrites the bracket.

Replace the entire selected range when picking a completion with a non-cursor selection active.

New features

Completions can now provide a section field that is used to group them into sections.

The new positionInfo option can be used to provide custom logic for positioning the info tooltips.

marijn
published 6.4.2 •

Changelog

Source

6.4.2 (2023-02-17)

Bug fixes

Fix a bug where the apply method created by snippet didn't add a pickedCompletion annotation to the transactions it created.

marijn
published 6.4.1 •

Changelog

Source

6.4.1 (2023-02-14)

Bug fixes

Don't consider node names in trees that aren't the same language as the one at the completion position in ifIn and ifNotIn.

Make sure completions that exactly match the input get a higher score than those that don't (so that even if the latter has a score boost, it ends up lower in the list).

marijn
published 6.4.0 •

Changelog

Source

6.4.0 (2022-12-14)

Bug fixes

Fix an issue where the extension would sometimes try to draw a disabled dialog at an outdated position, leading to plugin crashes.

New features

A tooltipClass option to autocompletion can now be used to add additional CSS classes to the completion tooltip.

marijn
published 6.3.4 •

Changelog

Source

6.3.4 (2022-11-24)

Bug fixes

Fix an issue where completion lists could end up being higher than the tooltip they were in.

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