Changes
Features
feat: Support REPL style reading from stdin (#2342)
feat: Support REPL style reading from stdin (#2342)
Related to #2294
feat: add `--fail-fast` cli option (#2338)
feat: add --fail-fast
cli option (#2338)
Related to #2294
feat: Add `failFast` config option to exit as soon as an issue encountered (#2307)
feat: Add failFast
config option to exit as soon as an issue encountered (#2307)
Closes #2294
This is my first contribution, not sure if I placed this config option in the right place, and also not sure if that's the most optimal way to test this, but I guess it works. Any feedback is appreciated.
feat: Add cli command to show suggestions. (#2299)
feat: Add cli command to show suggestions. (#2299)
New command:
Usage: cspell suggestions|sug [options] [words...]
Spelling Suggestions for words.
Options:
-c, --config <cspell.json> Configuration file to use. By default
cspell looks for cspell.json in the
current directory.
--locale <locale> Set language locales. i.e. "en,fr" for
English and French, or "en-GB" for
British English.
--language-id <language> Use programming language. i.e. "php" or
"scala".
-s, --no-strict Ignore case and accents when searching
for words.
--ignore-case Alias of --no-strict.
--num-changes <number> Number of changes allowed to a word
(default: 4)
--num-suggestions <number> Number of suggestions (default: 8)
--no-include-ties Force the number of suggested to be
limited, by not including suggestions
that have the same edit cost.
--stdin Use stdin for input.
-v, --verbose Show detailed output. (default: 0)
-d, --dictionary <dictionary name> Use dictionary.
--dictionaries <dictionary names...> Use dictionaries
--no-color Turn off color.
--color Force color
-h, --help display help for command
Fixes
dev: Prepare to support Hunspell AFF to improve suggestions. (#2332)
dev: Prepare to support Hunspell AFF to improve suggestions. (#2332)
fix: (cspell-glob) Make sure `cwd` can be set. (#2316)
fix: (cspell-glob) Make sure cwd
can be set. (#2316)
fix: (cspell) Mark forbidden and no suggest words (#2302)
fix: (cspell) Mark forbidden and no suggest words (#2302)
- When making suggestions mark forbidden and no suggest words