Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

znck/grammarly

Repository files navigation

Grammarly for VS Code

A language server implementation on top of Grammarly's SDK.

Development Setup

This project uses pnpm.

pnpm install
pnpm run build

Adding support for new language

  1. Add "onLanguage:<language name>" to activationEvents in extension/package.json
  2. Add tree-sitter grammar
    1. Install tree-sitter grammar package (generally package are named as tree-sitter-<language name>)
    2. Add the package to the wasm build script: scripts/build-wasm.mjs
  3. Add language transformer in the directory
    1. Create Language<LanguageName>.ts
    2. For reference, check LanguageHTML.ts

How to get help

Have a question, or want to provide feedback? Use repository discussions to ask questions, share bugs or feedback, or chat with other users.

Older Packages

unofficial-grammarly-api, unofficial-grammarly-language-client and unofficial-grammarly-language-server are deprecated and archived: https://github.com/znck/grammarly/tree/v0

Support

This extension is maintained by Rahul Kadyan. You can 💖 sponsor him for the continued development of this extension.