All Projects → davidlday → vscode-languagetool-linter

davidlday / vscode-languagetool-linter

Licence: Apache-2.0 license
A from scratch redesign of LanguageTool integration for VS Code.

Programming Languages

typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to vscode-languagetool-linter

stencil-snippets
An extension to add some snippets on vs code
Stars: ✭ 21 (-70.83%)
Mutual labels:  vscode-extension
template-generator-vscode
Files/Folders template for vscode
Stars: ✭ 26 (-63.89%)
Mutual labels:  vscode-extension
aws-step-functions-constructor
VSCode extension to visualize AWS step functions
Stars: ✭ 24 (-66.67%)
Mutual labels:  vscode-extension
vscode-twitch-themer
A Visual Studio Code extension that listens to Twitch chat and allows viewers to change the streamers VS Code theme.
Stars: ✭ 35 (-51.39%)
Mutual labels:  vscode-extension
vscode-monorepo-workspace
📦✨Manage monorepos with multi-root workspaces. Supports Lerna, Yarn, Pnpm, Rushjs and recursive package directories.
Stars: ✭ 93 (+29.17%)
Mutual labels:  vscode-extension
fast-sfdc
A VSCode plugin to develop Salesforce projects in vscode
Stars: ✭ 16 (-77.78%)
Mutual labels:  vscode-extension
vscode-ansible-vault
VSCode plugin for encrypt/decrypt with ansible-vault
Stars: ✭ 22 (-69.44%)
Mutual labels:  vscode-extension
vscode-react-javascript-snippets
Extension for React/Javascript snippets with search supporting ES7+ and babel features
Stars: ✭ 782 (+986.11%)
Mutual labels:  vscode-extension
vscode-uncrustify
Code format using uncrustify
Stars: ✭ 62 (-13.89%)
Mutual labels:  vscode-extension
vscode-liquid-snippets
Shopify Liquid Template Snippets
Stars: ✭ 22 (-69.44%)
Mutual labels:  vscode-extension
kotlin-java-spellchecker
A simple spellcheckers on Java and Kotlin
Stars: ✭ 13 (-81.94%)
Mutual labels:  spellchecker
vscode-java-saber
⚔️ To make the vscode work as Eclipse or IDEA when you are coding in java.
Stars: ✭ 28 (-61.11%)
Mutual labels:  vscode-extension
vscode-theme-github-light
Try this theme if others don't meet your needs.
Stars: ✭ 49 (-31.94%)
Mutual labels:  vscode-extension
z-reader
📘 [vscode插件] 小说阅读器,支持在线搜索和本地阅读,支持txt和epub格式
Stars: ✭ 205 (+184.72%)
Mutual labels:  vscode-extension
angular-extension-pack-vsce
This extension pack packages some of the most popular (and some I find very useful) VS Code Angular extensions.
Stars: ✭ 25 (-65.28%)
Mutual labels:  vscode-extension
karate-runner
VSCode Extension for Karate
Stars: ✭ 23 (-68.06%)
Mutual labels:  vscode-extension
vscode-endwise
Wisely add "end" in Ruby.
Stars: ✭ 75 (+4.17%)
Mutual labels:  vscode-extension
vue-snippets
Visual Studio Code Syntax Highlighting For Vue3 And Vue2
Stars: ✭ 25 (-65.28%)
Mutual labels:  vscode-extension
vscode-iot-utility
IoT Utility for Visual Studio Code: Arduino, Espressif, Raspberry Pi, mbed and more
Stars: ✭ 61 (-15.28%)
Mutual labels:  vscode-extension
wordup-code
Visual Studio Code extension for wordup that makes it easy to develop, manage and export WordPress plugins or themes.
Stars: ✭ 12 (-83.33%)
Mutual labels:  vscode-extension

LanguageTool Linter for Visual Studio Code

GitHub Workflow Status Visual Studio Marketplace Installs Visual Studio Marketplace Rating (Stars)

Grammar, Style and Spell Checking in VS Code via LanguageTool. Support Markdown, MDX, HTML, and plain text files.

In memory of Adam Voss, original creator of the LanguageTool for Visual Studio Code extension.

Features

  • Issue highlighting with hover description.
  • Replacement suggestions.
  • Checks plain text, Markdown, MDX, and HTML.
  • Smart format on type to replace quotes with smart quotes, multiple consecutive hyphens with em or en-dash, and three consecutive periods with ellipses.
    • Make sure 'Editor: Format On Type' is enabled or this feature won't work. You can enable it at the document format level as well in your settings.json.

Setup

The defaults are probably not going to work for you, but they are there to make sure using LanguageTool's Public API is done by choice. See this issue on the Atom LanguageTool Linter for an explanation why.

The defaults assume the following:

  1. You do not want to use the LanguageTool's Public API

  2. You're running LanguageTool HTTP Server on your machine using the default port of 8081.

  3. You do not want to have this extension manage your local LanguageTool HTTP Server service.

If this doesn't work for you, here are your options.

Option 1: Use an External Service

This could either be a locally running instance of LanguageTool, or the service running somewhere else.

  1. Set the URL in “LanguageTool Linter > External: URL” (i.e. http://localhost:8081).
  2. Set “LanguageTool Linter: Service Type” to external.

External URL

Option 2: Use an Extension-Managed Service

Works well if you're only using LanguageTool in Visual Studio Code.

  1. Install LanguageTool locally.
  2. Set “LanguageTool Linter > Managed: Jar File” to the location of the languagetool-server.jar file. The install doc has hints.
  3. Set “LanguageTool Linter: Service Type” to managed.

Managed Service

Option 3: Public API Service

Make sure you read and understand LanguageTool's Public API before doing this.

  1. Set “LanguageTool Linter: Service Type” to public.

Public API

Configuration Notes

Most configuration items should be safe, but there are three you should pay particular attention to:

  1. Public Api: This will use LanguageTool's Public API service. If you violate their conditions, they'll block your IP address.
  2. Lint on Change: This will make a call to the LanguageTool API on every change. If you mix this with the Public Api, you're more likely to violate their conditions and get your IP address blocked.
  3. LanguageTool: Preferred Variants: If you set this, then LanguageTool: Language must be set to auto. If it isn't, the service will throw an error.

Credits

The following projects provided excellent guidance on creating this project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].