Ported from vscode-alex.
- coc-marketplace
- npm
- vim:
" command line
CocInstall coc-alex
" or add the following code to your vimrc
let g:coc_global_extensions = ['coc-alex', 'other coc-plugins']
A Visual Studio Code extension to find unequal phrasing in your text with alex:
Catch insensitive, inconsiderate writing.
- Run
Install Extension
command from Command Palette. - Search and choose
AlexJs Linter
.
See the extension installation guide for details.
The extension should be enabled by default, you can verify this in the VS Code settings.
It automatically checks plain text, markdown, tex or other text based files.
The extension offers quick-fixes to easily replace words with suggestions from alex
.
If you encounter any issues, feel free to open a ticket on github.
Parameter | Description | Default |
---|---|---|
alex-linter.strategy |
Run the linter on save (onSave), on type (onType) or on user initiation (user) | onSave |
alex-linter.noBinary |
Check if pairs like 'he or she' or 'garbageman or garbagewoman' are considered errors | false |
alex-linter.profanitySureness |
Set the level of profanity check. Possible values are 'likely', 'maybe' and 'unlikely'. If set to 'maybe' words like 'addict' and 'asshat' are considered profanity. If set to 'likely' the word 'addict is not marked with a warning. | maybe |
- Quick-Fix extension
- Implement a 'change all occurrences' and 'change in all files' feature
- Implement an 'ignore this'/'ignore all' functionality
- Extend the filetypes to check
Copyright (c) 2015 Shinnosuke Watanabe
Copyright (c) 2020 Tobias Lahmann
Licensed under the MIT License.