I wanted to add words to the “added_words” or “ignored_words” spellcheck lists but only in certain contexts, and tried to do this by creating a project and putting them in the sublime-project file:
{
"settings": {
"added_words":
[
"foobarbaz"
]
}
}
However this did not seem to have any effect on other files within the project that I had open. Words that weren’t in my global “added_words” or “ignored_words” lists, but did appear in the project settings list, were still being flagged by the spellchecker.
https://www.sublimetext.com/docs/projects.html says that only “editor settings” can be overridden by project settings, and https://www.sublimetext.com/docs/settings.html#categories says that “spell_check” for instance is an “editor setting” but there doesn’t seem to be any documentation of what settings are in which category, instead deferring to where the settings are placed in the default settings file. “added_words” and “ignored_words” don’t actually appear in the default settings file, so it’s not apparent which category they fall under.
So, are they editor settings? Is this supposed to work?