+2

Is there a way of selecting all highlighted words?

Noor 12 years ago updated by Nolan Amy 11 years ago 7
After sublime highlights all occurrences of a selected word, is there a way to expand the selection to all highlights?

+1
Yes. Find / Quick Find All.
+1
No. Not what I need.

"Quick find all" selects partial too.

say if you have both "keyword" and "keyword123" in a file, and you select "keyword", keyword123 doesn't get highlighted.

"Quick find all" selects "keyword" and "keyword"123

Had any luck with this? I've been wondering how to do the exact same thing.

nope, a missing feature that doesn't even require a bit of effort to be implemented...


I asked about this on #sublimetext@freenode and someone came up with a plugin script that works fine for me. If you're interested: http://www.sublimetext.com/forum/viewtopic.php?f=5&t=10821


yes sure,
thanks.

I still think it should be implemented as an embedded feature though :)

It is embedded!! ...Just ever so subtly and simply:

If you start with an empty selection, ⌘D will search by whole words (variables) automatically. See adzenith's post on the Sublime forum. Here's the SO question on it.