GroupId: | com.junichi11.netbeans.modules |
ArtifactId: | netbeans-textlint |
Author: | Junichi Yamamoto |
License: | Apache License, Version 2.0 |
Homepage: | https://github.com/junichi11/netbeans-textlint-plugin |
2020-06-21 2023-09-01 77,422
Editing
Plugin version | NetBeans compatible |
---|---|
1.1.0 | NB 19 - Verified NB 18 - Verified NB 17 - Verified NB 16 - Verified NB 15 - Verified NB 14 NB 13 - Verified NB 12.0 - Verified |
See https://github.com/textlint/textlint
Of course, it assumes that nodejs and npm are installed.
e.g.
$ mkdir txtlint
$ cd txtlint
$ npm init
$ npm install textlint --save-dev
$ npm install textlint-rule-max-ten textlint-rule-spellcheck-tech-word textlint-rule-no-mix-dearu-desumasu --save-dev
$ touch .textlintrc
{ "rules": { "max-ten": { "max": 3 }, "spellcheck-tech-word": true, "no-mix-dearu-desumasu": true }
}
You can also set parameters to Options (see below).
Set paths to the Options (see below).
e.g.
Tools > Options > Editor > textlint
You have to save your file before you run this action.
If there is a fixable rule’s error, you can fix it. Right-click an item > Click Fix
.
To refresh items, your document is saved once.
You have to save your file before you run this action.
If there are fixable rule’s errors, you can fix them. Right-click an item > Click Fix All
.
This action runs textlint --fix
command.
You can refresh results forcibly by the following action: Right-click your editor > Click "textlint Refresh".
You can also set the shortcut key(Tools > Options > Keymap).
UTF-8
as file encoding and LF
as line endings.textlint
commands once in your CLI.