github streetsidesoftware/cspell v8.12.1

latest releases: v8.16.0, v8.15.7, v8.15.6...
3 months ago

Features

feat: Support custom issue template (#5949)

feat: Support custom issue template (#5949)

Related to #5758

Make it possible to use custom issue templates from the command line:

cspell . --issue-template='{green $filename}:{yellow $row:$col} $message ({red $text}) $quickFix'

Template

option: --issue-template to set the template to use when reporting issues.

The template is a string that can contain the following placeholders:

  • $filename - the file name
  • $col - the column number
  • $row - the row number
  • $text - the word that is misspelled
  • $message - the issues message: "unknown word", "word is misspelled", etc.
  • $messageColored - the issues message with color based upon the message type.
  • $uri - the URI of the file
  • $suggestions - suggestions for the misspelled word (if requested)
  • $quickFix - possible quick fixes for the misspelled word.
  • $contextFull - the full context of the misspelled word.
  • $contextLeft - the context to the left of the misspelled word.
  • $contextRight - the context to the right of the misspelled word.

Color is supported using the following template pattern:

  • {<style[.style]> <text>} - where <style> is a style name and <text> is the text to style.
    Styles
  • bold, italic, underline, strikethrough, dim, inverse
  • black, red, green, yellow, blue, magenta, cyan, white

Example:

{green $filename}:{yellow $row}:{yellow $col} $message {red $text} $quickFix {dim $suggestions}


Fixes

refactor: remove .cjs dependency (#5956)

refactor: remove .cjs dependency (#5956)


fix: refactor uri to url (#5943)

fix: refactor uri to url (#5943)

Part of moving away from vscode-uri to the standard URL.


fix: Use stdout and stderr to display text (#5935)

fix: Use stdout and stderr to display text (#5935)

  1. Do not use console.log/.error/.warn to display text.
  2. Clean up the output so it doesn't use too much space.

fix: ignore `_` in hex values (#5934)

fix: ignore _ in hex values (#5934)


Dictionary Updates

fix: Workflow Bot -- Update Dictionaries (main) (#5938)

fix: Workflow Bot -- Update Dictionaries (main) (#5938)

Update Dictionaries (main)

Summary

 .../Azure/azure-rest-api-specs/report.yaml         |  6 +--
 .../snapshots/RustPython/RustPython/report.yaml    |  4 +-
 .../snapshots/RustPython/RustPython/snapshot.txt   | 16 ++++---
 .../snapshots/django/django/report.yaml            |  8 ++--
 .../snapshots/django/django/snapshot.txt           |  3 +-
 .../snapshots/eslint/eslint/report.yaml            |  6 +--
 .../snapshots/eslint/eslint/snapshot.txt           |  3 +-
 .../snapshots/gitbucket/gitbucket/report.yaml      |  3 +-
 .../snapshots/gitbucket/gitbucket/snapshot.txt     |  3 +-
 .../googleapis/google-cloud-cpp/report.yaml        | 42 +++++++++----------
 .../snapshots/ktaranov/sqlserver-kit/report.yaml   |  3 +-
 .../snapshots/ktaranov/sqlserver-kit/snapshot.txt  |  3 +-
 .../microsoft/TypeScript-Website/report.yaml       |  3 +-
 .../microsoft/TypeScript-Website/snapshot.txt      |  3 +-
 .../snapshots/neovim/nvim-lspconfig/report.yaml    |  3 +-
 .../snapshots/neovim/nvim-lspconfig/snapshot.txt   |  5 +--
 .../snapshots/sveltejs/svelte/report.yaml          | 10 ++---
 .../snapshots/sveltejs/svelte/snapshot.txt         |  8 +---
 .../typescript-cheatsheets/react/report.yaml       |  9 ++--
 .../typescript-cheatsheets/react/snapshot.txt      |  9 ++--
 .../snapshots/wireapp/wire-webapp/report.yaml      |  7 ++--
 .../snapshots/wireapp/wire-webapp/snapshot.txt     |  5 +--
 packages/cspell-bundled-dicts/package.json         | 10 ++---
 .../cspell/src/app/__snapshots__/app.test.ts.snap  | 13 +++++-
 pnpm-lock.yaml                                     | 49 ++++++++++++----------
 25 files changed, 107 insertions(+), 127 deletions(-)

Don't miss a new cspell release

NewReleases is sending notifications on new releases.