Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 3 Find - highlight all results, rather than white outline

Tags:

sublimetext3

enter image description here

Find in Sublime Text 3 highlights one of the results, and a white outline of the other results. The white outline (any color outline) is very hard to see. Is there a way/package to highlight all search results?

like image 436
Gerry Pesavento Avatar asked Sep 19 '18 16:09

Gerry Pesavento


People also ask

How do I change the selection color in Sublime Text?

Changing the selection colour in Sublime Text 3 Open the command palette with ⌘+⇧+P on mac iOS (for windows/linux Ctrl + Shif + P) and type prv to get the PackageResourceViewer options. Choose Open Resource >> Color Scheme – Default >> and choose your theme file to edit.

Why is my sublime text white?

This happens when Sublime Text doesn't know which syntax highlighting to choose. First of all Sublime Text guesses the syntax from the file extension. E.g. if you have a file named my_file_name. php Sublime Text assumes that the PHP syntax highlighting is the best.


1 Answers

Don't know if there's a way to have all the matches highlighted, but you can make them a lot easier to see by changing the colour and making the box thicker.

To do this, create your own colour scheme by adding a new .sublime-color-scheme file to the correct folder. For me (on linux) the simplest way is to copy the default color scheme file at ~/.config/sublime-text-3/Packages/Color Scheme - Default/Monokai.sublime-color-scheme to ~/.config/sublime-text-3/Packages/User/my_colors.sublime-color-scheme

Then add the following lines to the 'global' section:

"highlight": "var(orange3)",  
"selection_border_width": "2",  

To use your new colour scheme, select Color Scheme from the Preferences menu - there should now me a new scheme available called 'my_colors'.

like image 86
MDJ Avatar answered Oct 19 '22 09:10

MDJ