Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text: Adding dot as word separator?

Tags:

sublimetext2

Its really annoying when Sublime Text selects the entire word in Javascript which is actually delimitated by "dots". How to fix this?

like image 339
Sanket Sahu Avatar asked Jul 09 '13 10:07

Sanket Sahu


1 Answers

In Preferences.sublime-settings, change "word_separators" to the following line

"word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?\\.",

Notice that I added "\\." in the end of the word_separators strings.

Hope it helps someone.

like image 100
Sanket Sahu Avatar answered Oct 29 '22 22:10

Sanket Sahu