In Sublime Text I know I can find duplicate words if I select one by one as the image shows:
When I select the word Item Sublime highlights the other references.
Is it possible to find duplicate words without having to select one by one?
If your Sublime is in the default setting, using Ctrl + D
will select each occurrence of your current selection one by one.
To select all at once, use Ctrl + F
. It will open the search bar at the bottom of the program and you can click Find All
or Alt + Enter
, which will select all occurrences of the searched word.
Tip: With Ctrl + F
, if the word you want to fetch is already selected, Sublime understands that it is the one that should be searched and already 'pre-directed' the search with the selected content.