/zed-autocorrect

AutoCorrect for Zed

Primary LanguageRustMIT LicenseMIT

AutoCorrect for Zed

AutoCorrect is a linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).

image

Based on AutoCorrect LSP server, you can use it to check and fix your text in real-time.

Requirement: AutoCorrect v2.10.0+

Features

  • Lint text in real-time.
  • Code Action to fix the text.
  • Automatically download AutoCorrect, if your system doesn't have it, otherwise use the existing one.

TODO

  • Formatting support.

    Currently, the Zed extension can't allow us register multiple formatters for the same language.

    For example the markdown language. Zed's default markdown formatter is prettier, and we can't register another formatter for it.

  • Following .autocorrectrc config in workspace (by LSP).

Installation

Open Extensions on your Zed, search for AutoCorrect and click on Install.

License

MIT