Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text on OSX: Spell checker does not learn

I'm trying to get the/a spell checker working for ST2 on OSX (10.6.8 and 10.8.5). The build-in solution does a pretty good job, especially for LaTeX files. I do see words underlined in red, if ST2 thinks they contain a typo. But if I choose to "ignore" these words (no more highlighting then) and restart Sublime Text, they're highlighted again (same thing happens with ST3).

I'm not even able to find the list of ignored words and I somehow get the impression that ST seems to "forget" those words. I've tried to add a list manually in my Preference.sublime-settings file: no effect.

The "CheckBounce" plugin looks like a promising alternative, although LaTeX support is missing (most commands are highlighted as incorrect).

Any ideas?

like image 746
damarus Avatar asked Oct 30 '13 13:10

damarus


1 Answers

See the section for ignored_words below. You need to manually add words to your preferences file. I've set the preferences files to hot-keys to have easy access.

/Users/HOME/Library/Application Support/Sublime Text 2/Packages/User/Preferences.sublime-settings

{
    "auto_complete_triggers":
    [
        {
            "characters": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?",
            "selector": "text.shtml"
        }
    ],
    "color_scheme": "Packages/User/lawlist.tmTheme",
    "find_selected_text": false,
    "font_face": "Courier",
    "font_size": 18.0,
    "forward_sync": true,
    "ignored_packages":
    [
        "Vintage"
    ],
    "ignored_words":
    [
        "Joinder",
        "\\bf\\uline",
        "\\begin{singlespace*}",
        "\\end{singlespace*}",
        "\\begin{tightcenter}",
        "\\end{tightcenter}",
        "\\begin{document}",
        "\\end{document}",
        "quotingsetup",
        "renewenvironment",
        "doublespace",
        "flushright",
        "minipage",
        "pagestyle",
        "uuline",
        "textbf"
    ],
    "inverse_cursor_state": true,
    "keep_focus": false,
    "scroll_past_end": true,
    "show_full_path": true,
    "word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?"
}
like image 168
lawlist Avatar answered Oct 13 '22 01:10

lawlist