Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/znck/grammarly

Grammarly for VS Code
https://github.com/znck/grammarly

english-grammar grammar grammar-checker grammarly languageserver languageserverprotocol vscode-extension

Last synced: about 2 months ago
JSON representation

Grammarly for VS Code

Awesome Lists containing this project

README

        

# Grammarly for VS Code

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

## Development Setup

This project uses [pnpm](https://pnpm.io).

```sh
pnpm install
pnpm run build
```

## Adding support for new language

1. Add `"onLanguage:"` to `activationEvents` in [extension/package.json](./extension/package.json)
2. Add [tree-sitter](https://tree-sitter.github.io/tree-sitter/) grammar
1. Install tree-sitter grammar package (generally package are named as `tree-sitter-`)
2. Add the package to the wasm build script: [scripts/build-wasm.mjs](./scripts/build-wasm.mjs)
3. Add language transformer in the directory
1. Create `Language.ts`
2. For reference, check [`LanguageHTML.ts`](./packages/grammarly-richtext-encoder/src/LanguageHTML.ts)

## How to get help

Have a question, or want to provide feedback? Use [repository discussions](https://github.com/znck/grammarly/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](https://github.com/znck). You can [💖 sponsor him](https://github.com/sponsors/znck) for the continued development of this extension.