Home

Awesome

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.

<p align="center"> <a href="https://cdn.jsdelivr.net/gh/znck/sponsors@main/sponsors.svg"> <img src='https://cdn.jsdelivr.net/gh/znck/sponsors@main/sponsors.png'/> </a> </p> <br> <br> <br>