Integrates textlint into VS Code. If you are new to textlint check the documentation.
The extension uses the textlint library installed in the opened workspace folder. If the folder doesn't provide one the
extension looks for a global install version. If you haven't installed textlint either locally or globally do so by running
npm install textlint in the workspace folder for a local install or npm install -g textlint for a global install.
On new folders you might also need to create a .textlintrc configuration file. You can do this by either running
textlint --init in a terminal or by using the VS Code
command Create '.textlintrc' file.
Settings Options
textlint.autoFixOnSave
by default is false. if you set true, Automatically fix auto-fixable errors on save.
textlint.run
run the linter onSave or onType, default is onType.
textlint.nodePath
use this setting if an installed textlint package can't be detected, for example /myGlobalNodePackages/node_modules.
textlint.trace
Traces the communication between VSCode and the textlint linter service.
textlint.configPath
absolute path to textlint config file.
workspace settings are prioritize.
textlint.targetPath
set a glob pattern.
Commands
This extension contributes the following commands to the Command palette.
Create '.textlintrc' File
creates a new .eslintrc.json file.
Fix all auto-fixable Problems
applies textlint auto-fix resolutions to all fixable problems.
Release Notes
0.7.0
add sets a target path support.
thanks for @bells17 !!
0.6.8
change default value of textlint.run to onSave
run tests on Azure Pipelines.
0.6.5
add tex file support including .tex, .latex, .doctex.