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.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.<dependency>
<groupId>com.junichi11.netbeans.modules</groupId>
<artifactId>netbeans-textlint</artifactId>
<version>1.1.0</version>
<type>nbm</type>
</dependency>
@Grapes(
@Grab(group='com.junichi11.netbeans.modules', module='netbeans-textlint', version='1.1.0')
)
compile
|-- org.apache.commons:commons-lang3:3.0
|-- com.google.code.gson:gson:2.8.2
|-- org.netbeans.api:org-netbeans-api-annotations-common:RELEASE110
|-- org.netbeans.api:org-netbeans-spi-tasklist:RELEASE110
|-- org.netbeans.api:org-openide-filesystems:RELEASE110
|-- org.netbeans.api:org-openide-util-lookup:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-extexecution:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-extexecution-base:RELEASE110
|-- org.netbeans.api:org-openide-windows:RELEASE110
|-- org.netbeans.api:org-openide-io:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-editor-lib2:RELEASE110
|-- org.netbeans.api:org-openide-text:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-csl-api:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-editor-lib:RELEASE110
|-- org.netbeans.api:org-openide-loaders:RELEASE110
|-- org.netbeans.api:org-openide-dialogs:RELEASE110
|-- org.netbeans.api:org-openide-util:RELEASE110
|-- org.netbeans.api:org-openide-nodes:RELEASE110
|-- org.netbeans.api:org-openide-util-ui:RELEASE110
|-- org.netbeans.api:org-netbeans-modules-options-api:RELEASE110
|-- org.netbeans.api:org-openide-awt:RELEASE110
|-- org.netbeans.api:org-openide-filesystems-nb:RELEASE110
|-- org.netbeans.api:org-netbeans-api-progress:RELEASE110
test
|-- junit:junit:4.12
|-- org.hamcrest:hamcrest-core:1.3
|-- org.netbeans.api:org-netbeans-modules-nbjunit:RELEASE110