Emil Åström
Emil Åström
I have briefly looked into this and I can't seem to find any documentation about inline modifiers in regexes used by VS Code. Do you have a link? When I...
No, I'm afraid not. Nice idea, but with the current implementation I think it would be hard to implement.
@mianowill, I'm going though old issues and just saw your comment which I apparently missed before. Sorry for that. Please create a separate issue for the ESP32 log file style...
Interesting idea for someone to pick up and create a PR for ;-)
Not sure I understand what you want to indicate. I have no setting for this but VS Code highlights the entire line by default. Do you want to disable this?
You can define a custom highlighting pattern which matches several lines: ``` "logFileHighlighter.customPatterns": [ { "pattern": "b[\r\n]*c", "background": "red" } ] ``` But apparently only the match on the first...
No progress so far, but I'll be happy to accept a PR if someone gets around to fix it :-)
I have recently been a bit more active in the development of this extension and have finally added support for multiline custom patterns in the form of the new **patternFlags**...
Well, a custom pattern like this should work: ``` "logFileHighlighter.customPatterns": [ // Color line that does not contain "foo" using negative lookahead { "pattern": "^.*(?!bar).*$", "foreground": "#ff0000" }, ], ```...
I will close this issue now as I don't see a way to solve it. Also, it is a bit an edge case.