spell checker and corrector for Swift
This command line tool can check spelling and show proposed correction.
Installation
Binary
We can download binary from here.
Makefile
$ git clone [email protected]:ezura/spell-checker-for-swift.git
$ cd spell-checker-for-swift
$ make
Mint
$ mint install ezura/[email protected]
Usage
Command
typokana { path of file/directory }
Show warning on Xcode when run this command at run script.
--diff-only
, -diff
Check only files listed by git diff --name-only
(typokana --diff-only { path of file/directory }
)
typokana --help
(typokana --help
)
OVERVIEW: Spell check
USAGE: typokana [options] argument
OPTIONS:
--diff-only, -diff Check only files listed by `git diff --name-only`
--help Display available options
POSITIONAL ARGUMENTS:
path Path of target file
How to ignore word
- Create file named ".typokana_ignore"
- Write ignored words with line breaks
For example, if you don't want to display warnings for "typokana", "json" and "yuka", please write following text in ".typokana_ignore".
typokana
json
yuka
TODO
- edit the list of words to ignore