ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Diction

by GeeF OS XLinux ST2/ST3

Plugin for SublimeText 2/3 that uses GNU diction to highlight style mistakes in text

Details

Installs

  • Total 210
  • Win 0
  • OS X 115
  • Linux 95
Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 1 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeDiction

Diction is a plugin for SublimeText 2/3 that integrates GNU diction in the editor.

Diction highlights style mistakes and commonly misused phrases in your texts. It also gives a helpful suggestion on what to change in the text to make it better.

Installation

For highlighting to work, you have to install GNU diction. On *nix you probably want to use your favorite package manager. Homebrew on OSX provides it as well, just run the following

brew install diction

It may be neccessary to restart sublime depending on your system.

Use

By default, diction works on files with the extension .txt, .tex, .mdown. Have a look at the package settings to add extensions as needed.

On a medium sized text file, a diction run is too slow on most machines to be run live while editing. Use CMD+Shift+P on OSX or Ctrl+Shift+P to bring up the command palette and look for Diction: GNU Diction run. This command will trigger the scanning and mark the respective regions where diction has suggestions.

The suggestions text is displayed in the status bar for now, as Sublime Text currently has no API to display tooltips of any kind to the user.