Created
August 6, 2025 13:05
-
-
Save 4rmx/a47c2fb202a7e778a9883bc6cfee6807 to your computer and use it in GitHub Desktop.
starCharge log file highlighter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // Gun.\sStart\.\.\. | |
| // GUN1.*?Stop | |
| "[log]": { | |
| "editor.largeFileOptimizations": false, | |
| }, | |
| "logFileHighlighter.progressIndicatorUnderlineColor": "#ffee00", | |
| "logFileHighlighter.customPatterns": [ | |
| { | |
| "pattern": "pwrReq", | |
| "background": "#9c07a1" | |
| }, | |
| { | |
| "pattern": "pwrRes", | |
| "background": "#9c07a1" | |
| }, | |
| { | |
| "pattern": "\"mdlInfo\"", | |
| "background": "#1100d2", | |
| "foreground": "#f1f1f1" | |
| }, | |
| { | |
| "pattern": "\"StatusNotification\"", | |
| "patternFlags": "i", | |
| // "highlightEntireLine": true, | |
| "background": "#08baec", | |
| "foreground": "#f1f1f1" | |
| }, | |
| { | |
| "pattern": "Gun.\\sStart\\.\\.\\.", | |
| "background": "#10ab1f", | |
| "foreground": "#f1f1f1" | |
| }, | |
| { | |
| "pattern": "GUN.*?Stop", | |
| "patternFlags": "i", | |
| "background": "#ff8801", | |
| "foreground": "#f1f1f1" | |
| }, | |
| { | |
| "pattern": "\"status\": \"Finishing\"", | |
| "patternFlags": "i", | |
| // "highlightEntireLine": true, | |
| "background": "#ff8801", | |
| "foreground": "#f1f1f1", | |
| }, | |
| // { | |
| // "pattern": "\"requestId.*?method.*?pwrUnitId.*?connId.*?$", | |
| // "patternFlags": "si", | |
| // // "highlightEntireLine": true, | |
| // "background": "#10ab1f", | |
| // "foreground": "#f1f1f1", | |
| // }, | |
| { | |
| "pattern": "StopReason", | |
| "patternFlags": "i", | |
| "background": "#ee0000", | |
| "foreground": "#f1f1f1" | |
| }, | |
| { | |
| "pattern": "(\"vendorErrorCode\")", | |
| "background": "#ee0000", | |
| "foreground": "#f1f1f1" | |
| }, | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment