Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codemirror/autocomplete

Package Overview
Dependencies
Maintainers
2
Versions
78
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.8.1

Diff

Changelog

Source

6.8.1 (2023-06-23)

Bug fixes

acceptCompletion now returns false (allowing other handlers to take effect) when the completion popup is open but disabled.

marijn
published 6.8.0 •

Changelog

Source

6.8.0 (2023-06-12)

New features

The result of Completion.info may now include a destroy method that will be called when the tooltip is removed.

marijn
published 6.7.1 •

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc