Vscode: [themes] Add `editor.findMatchForeground`

Created on 20 Jun 2017  路  4Comments  路  Source: microsoft/vscode

When using Find & Replace, I like to highlight the current search match differently. This is particularly helpful when refactoring and proof-reading, especially if there are many matches.

I can add a colour customisation for editor.findMatchBackground to achieve this. However, as the foreground colour is not editable, I have a contrast issue with the default foreground colour in the theme.

In my case, I'd prefer to set the background colour to something light, like #b2b231 and change the foreground colour of the match to #000000.

Obviously not a pressing issue; a nice to have 馃憤

feature-request themes

Most helpful comment

Any progress on this issue? Support for TextMate's "findHighlightForeground" would solve this too. I'm unable to use the "editor.findMatchBackground" as intended because there's currently no way to change the foreground. Which means when the foreground of the text happens to be the same as the background, it disappears into the block.

See screenshots below for clarity....

First is VSC where the element's foreground text happens to be the same color as the "editor.findMatchBackground" color:

vsc-match

Then we have SublimeText using findHighlightForeground to set the foreground for the focused match:

sublime-match

All 4 comments

Any progress on this issue? Support for TextMate's "findHighlightForeground" would solve this too. I'm unable to use the "editor.findMatchBackground" as intended because there's currently no way to change the foreground. Which means when the foreground of the text happens to be the same as the background, it disappears into the block.

See screenshots below for clarity....

First is VSC where the element's foreground text happens to be the same color as the "editor.findMatchBackground" color:

vsc-match

Then we have SublimeText using findHighlightForeground to set the foreground for the focused match:

sublime-match

image
:sob:

I think all font state Foreground colors should be supported.
Like wordHighlight selectionHighlight ....

Because color and background are usually paired.

image
pls add Foreground!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

trstringer picture trstringer  路  3Comments

borekb picture borekb  路  3Comments

philipgiuliani picture philipgiuliani  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

DovydasNavickas picture DovydasNavickas  路  3Comments