+234

Make "highlight matches" easier to see

Luke Scott 14 years ago updated by cornelius 2 years ago 24
It looks like "highlight matches" is a light border around each word. Would be nice if there was something a little easier on the eyes, similar to what Safari does. Currently it's hard to miss, especially with PHP having a light gray background behind it.
+1
Yes please! Having to hunt for the highlighted text makes find not very useful.

I've tried many color schemes and most if not all have this problem.
Hmm.. I like the "circles around matches". They easily differentiate from selections and otherwise highlighted text...
I fully support this request!

The 'circle around' found items is OK... what I really struggle with is to see the currently selected match (in a number of themes).  It would be much clearer if the currently selected find result was shown by inverting the background and text colours as a block (e.g. black text on white background block in a dark theme).  I made a similar comment here: 

+6

The current highlight circle just needs to be themeable. I'd want black text in a yellow circle. Coda does a wonderful job of highlighting text that you're looking for and uses a subtle animation to bring your attention to the item that's selected (there's a bit of a bounce to it when the text comes into focus).

+3
+1 hopefully, this would allow better match visibility on the minimap, too.
-1
yes, the white highlight is next to useless for those of us using light themes. 
-5
I believe the highlight color is customizable via the theme file.
-1
I use iPlastic right now for my color scheme, I can't find it anywhere in the packages directories.  Where would I edit the color scheme so I can change the matching brackets colors?
-1
Found it, It's in Color Scheme - default directory
-1
But I don't see where to change the actual color code for matching brackets, is this not supported yet?
+5
Same for matching brackets/parenthesis. I need to almost leak my screen to be able to see these.
+1
I swear! +1 for this!
+3

It's the 'caret' colour that controls the colour of the box if anyone was wondering.


Having much more control is very needed though - I find it hard to see too..

+11

I am using Monokai. When I do a "find" I get a nice easy-to-find yellow background highlighter. When I do a "find all" I get a shade which is 5% lighter as the highlighter. How can I change this? I would like to see the highlighted words at a glance. It's supposed to make then easy to find.

-4

The words should be highlighted to stand out. It's so simple. Im not hunting online for sublime packages which do this simple, mandatory feature.

Since this is not out of the box feature i have uninstalled this crap. Go install Notepad++. you'll be more happy.

+4

Please detach it from the "Caret colour" in the theme and let us customise the highlighting in the theme file:-

  • border colour
  • border width

Or preferably, scrap the border and just let us choose:

  • background colour
  • text colour


Thanks so much for an awesome editor!

+12



Solution for ST3. Place cursor on word you want to highlight (do not select the word, just place cursor!). Press Ctrl + F, then Alt + F3. Voila! In Monokai theme you'll get bright yellow highlight. 

This works. But too many buttons to press. Anyways, stopped using ST3 lonnnnggg time ago. This reminded me to uninstall. Thanks. 

Has this been resolved after all these years?

+2

No, it hasn't. You still can't change the highlight/background color of OTHER MATCHES, only their border, and the highlight color of the CURRENT match.

+3

Hi there, 
this seems to be resolved.


You just need to define an extra key e.g.
"highlight": "var(red)",

under your `globals`.

That key seems to be missing in the default Monokai color scheme config.

how do you define an extra key e.g.
"highlight": "var(red)",

under your `globals`.

that appears to be missing in the default Monokai color scheme config?

I have this in my Preferences.sublime-settings--User

{
"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme",
"highlight": "var(red)",
"theme": "Adaptive.sublime-theme"
}

+2

In Sublime Text build 4143, the following steps seem to work for changing the match highlight border color to a desired color, e.g., cyan:

  1. Click the menu: Sublime Text -> Settings... -> Customize Color Scheme
  2. In "globals", add:
    "highlight": "cyan",
  3. In "rules", add:
    {
        "name": "Comment",
        "scope": "comment",
        "foreground": "cyan"
    },
  4. Save the file.