[themes] Add `editor.findMatchForeground`
See original GitHub issueWhen 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 👍
Issue Analytics
- State:
- Created 6 years ago
- Reactions:33
- Comments:7
Top Results From Across the Web
Theme Color | Visual Studio Code Extension API
Theme Color reference that lists all themable colors in Visual Studio Code. ... addedBackground : Editor gutter background color for lines that are...
Read more >Theme color reference - vscode-docs1 - Read the Docs
You can customize your active Visual Studio Code color theme with the ... addedBackground : Editor gutter background color for lines that are...
Read more >How to Modify Themes in VSCode - Alvee's Blog
Add and modify the properties you want. Check out the full list of options here. Here's how mine looks with the customizations for...
Read more >Use workbench.colorCustomizations in extension?
colorCustomizations": { // Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an ...
Read more >CHANGELOG.md · IKKI/IKKI-VSCode-Dark-Theme - Gitee.com
Add ; Modify; Delete ... All notable changes to the "IKKI-VSCode-Dark-Theme" extension will be ... findMatchForeground; editorOverviewRuler.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub 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:
Then we have SublimeText using findHighlightForeground to set the foreground for the focused match:
pls add Foreground!