Sublime Forum

Word Boundaries and Dash

#1

Currently, it appears that a minus sign is not being treated as a word boundary. I am only really familiar with Python and within Python a minus sign is treated a math symbol and not as a acceptable portion of a word.

To test this if you write “test-case” and on the next line “cas”, “test-case” will pop up as a suggestion for what you are trying to type. The annoying part of this is that the word that follows the dash is not considered a separate word and the suggestion box gets clogged up with items like “test-case” which are not valid.

Any ideas or solutions?

0 Likes

#2

It appears that this is actually an auto-complete issue and not a word boundary issue. This assume that when you double click a word it expands to the word boundary. When you double click “test” in “test-case”, it expands only to “test” which is good. Any ideas how to remove “test-case” from auto-complete?

0 Likes