sass - Sublime Text Double Click highlighting modification -
sublime text not register sass variable ($variable) single item when highlighting, when double click on name, highlights word, not include $-symbol in highlighting. visual studio, on other hand, selects $-symbol along variable name when double clicking on variable select it.
i write sass day long, , make life drastically easier if modify small behavior. there way change this? sure possible plugin, don't know if 1 exists or how find it.
there setting named word_separators
provides list of characters assumed not part of word purposes of things double click selection, navigating words, , on.
the default particular setting set following, includes $
character causing woes:
// characters considered separate words "word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?",
you can modify setting not include $
character it's treated part of identifier, should want.
in order ensure don't experience other knock-on effects of this, may want set setting in preferences specific sass syntax.
to that, can select preferences > settings - syntax specific
while have sass file open , focused, , copy default setting settings , remove $
character.
Comments
Post a Comment