All Projects → errata-ai → vale-vscode

errata-ai / vale-vscode

Licence: MIT license
A Visual Studio Code extension for the Vale CLI.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vale-vscode

styles
📦 A collection of pre-packaged, Vale-compatible style guides and configurations.
Stars: ✭ 74 (+72.09%)
Mutual labels:  vale
vscode-linter
Extension for code linting, all in one package. New linters can be easily added through an extension framework.
Stars: ✭ 47 (+9.3%)
Mutual labels:  vale
vale-action
The official GitHub Action for Vale -- install, manage, and run Vale with ease.
Stars: ✭ 76 (+76.74%)
Mutual labels:  vale
prosesitter.nvim
A (work in progress) grammar, spelling and style plugin for Neovim
Stars: ✭ 23 (-46.51%)
Mutual labels:  vale
laravel-prose-linter
Syntax-aware proofreading for your Laravel application.
Stars: ✭ 91 (+111.63%)
Mutual labels:  vale
Microsoft
A Vale-compatible implementation of the Microsoft Writing Style Guide.
Stars: ✭ 56 (+30.23%)
Mutual labels:  vale
vale-server
🖥️ A lightweight desktop app for Vale.
Stars: ✭ 32 (-25.58%)
Mutual labels:  vale

Vale + VS Code

The official Visual Studio Code extension for Vale.

The Vale extension for VS Code provides customizable spelling, style, and grammar checking for a variety of markup formats (Markdown, AsciiDoc, reStructuredText, HTML, and DITA).

As of v0.15.0, the extension drops support for Vale Server which has ceased development. Many of the features from Vale Server will find their way into the Vale CLI tool, and this extension.

Installation

  1. Install Vale;
  2. install vale-server (this extension) via the Marketplace;
  3. restart VS Code (recommended).

Features

Detailed Problems View

Browse detailed information for each alert, including the file location, style, and rule ID.

Go-To Rule

Navigate from an in-editor alert to a rule's implementation on your StylesPath by clicking "View Rule".

Quick Fixes

Fix word usage, capitalization, and more using Quick Fixes (macOS: cmd + ., Windows/Linux: Ctrl + .). The quick fixes feature depends on the underlying rule implementing an action that VSCode can then trigger.

Spelling errors are currently not supported, but will be supported in a future version.

Settings

The extension offers a number of settings and configuration options (Preferences > Extensions > Vale).

  • vale.valeCLI.config (default: null): Absolute path to a Vale configuration file. Use the predefined ${workspaceFolder} variable to reference configuration file from a custom location. (NOTE: On Windows you can use '/' and can omit .cmd in the path value.) If not specified, the extension uses the default search process (relative to the current file).

    Example

    {
      // You can use ${workspaceFolder} it will be replaced by workspace folder path
      "vale.valeCLI.config": "${workspaceFolder}/node_modules/some-package/.vale.ini"
    
      // or use some absolute path
      "vale.valeCLI.config": "/some/path/to/.vale.ini"
    }
  • vale.valeCLI.path (default: null): Absolute path to the Vale binary. Use the predefined ${workspaceFolder} variable to reference a non-global binary. (NOTE: On Windows you can use '/' and can omit .cmd in the path value.)

    Example

    {
      // You can use ${workspaceFolder} it will be replaced by workspace folder path
      "vale.valeCLI.path": "${workspaceFolder}/node_modules/.bin/vale"
    
      // or use some absolute path
      "vale.valeCLI.path": "/some/path/to/vale"
    }
  • vale.valeCLI.minAlertLevel (default: inherited): Defines from which level of errors and above to display in the problems output.

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].