emacs-grammarly / grammarly-language-server

Grammarly for VS Code
https://www.npmjs.com/package/@emacs-grammarly/grammarly-languageserver
MIT License
28 stars 5 forks source link

License: MIT Release npm npm-dt npm-dm

Grammarly for VS Code

CI/CD

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.