textlint Support - plugin detail

This plugin provides support for textlint.

NetBeans Plugin - textlint Support
Plugin owner: junichi11
Website: https://github.com/junichi11/netbeans-textlint-plugin
Added: 2017-09-24
License: Apache 2.0
Category: Utilities
Downloaded: 440 times
 0, by 0 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.25 MB   Last Update: 2017-09-27

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin

What's new in this version


The first version.


  • Use cached results
  • Add the RefreshAction
  • Get results via stdin

Verifications for NetBeans versions

8.2 verification PASSED See verification details


This plugin provides support for textlint.

What’s the textlint?

See https://github.com/textlint/textlint


(see README)

Install textlint and rules

Of course, it assumes that nodejs and npm are installed.


$ 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

Create .textlintrc

$ 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 textlint and .textlintrc paths

Set paths to the Options (see below).


  • textlint Path: /path/to/txtlint/node_modules/.bin/textlint (textlint.cmd in Windows)
  • .textlintrc Path: /path/to/textlint/.textlintrc

Open Action Items window

  • Click Window > Action Items.
  • Click “Show action items for currently edited file only” icon.
  • Open your markdown or text file.


Tools > Options > Editor > textlint

  • textlint Path: Absolute path to textlint
  • .textlintrc Path: Absolute path to .textlintrc
  • Options : You can set options for the textlint command
  • Enable in HTML files: To use the html plugin, you can check this
  • Refresh on Save: To scan the document on save, you can check this (Checked by default)
  • Show Annotations: To show annotations in the glyph gutter, you can check this (Checked by default)



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.

Fix All

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.


  • The plugin scans only current file.
  • The plugin does not refresh if your file has modifications. Please save it.
  • Use UTF-8 as file encoding and LF as line endings.
  • This plugin may not work properly in Windows. (Please try to check above.)
  • If you cannot get expected results, just try to run the textlint commands once in your CLI.


If you find a problem, please submit it to GitHub issues as a new issue.

[ You have to be logged in to be able to comment. ]

User Comments

There are no comments yet.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo