Sublime Forum

Add underscore as delimiter for spellcheck

#1

I’m using Sublime Text 3 to develop my Rails project, and I’d like to turn on spell check to check for spelling errors. It seems to work great if I separate my words with dashes or periods, but it doesn’t seem to work with underscore.

For example, it would not highlight something like this: direct_new_accountaaa

How can I add the underscore to the list of delimiters? Do I have to add something to the spelling_selector in Settings? Thanks for your help!

0 Likes

#2

Add _ to the word_separators setting.

0 Likes

#3

That did not seem to work :disappointed: I see when I press options + arrow key (I’m on a Mac, ctrl + arrow key for windows), the curser stops at every _, but the spellcheck still doesn’t recognize direct_new_accountaaa as a typo. Thank you for your suggestion though!

0 Likes

#4

This might be an idea: https://packagecontrol.io/packages/SublimeLinter-contrib-SpellCheckLinter

0 Likes