vscode-logfile-highlighter
vscode-logfile-highlighter copied to clipboard
Option to disable or (re)set foreground color to 'default' or to the value of some CSS variable from the selected Color Theme for some pre-defined grammar tokens
Hello,
I'd like to prevent the automatic highlighting of some pre-defined tokens that are not relevant for my log files, e.g.
{"scope": "log.constant", "settings": {"fontStyle": "", "foreground": "#88888888"}},
{"scope": "log.date", "settings": {"fontStyle": "", "foreground": "#88888888"}},
{"scope": "log.string", "settings": {"fontStyle": "", "foreground": "#88888888"}},
At the moment the best I can do is change the foreground color to something 'neutral' (medium grey) so that it fits more or less with both dark and light themes - but what I'd really like to specify as foreground color would be something like "default"
, "none"
, false
, (meaning: disable the automatic highlighting) or (perhaps even better), be able to refer to the editor foreground color defined by the current color theme: var(--vscode-editor-foreground)
(or just --vscode-editor-foreground
) or some other CSS variable set by the color theme.
Thank you!