Last active
March 12, 2019 07:54
-
-
Save larshb/5ddc86eadc3b8d684416a9079cff2248 to your computer and use it in GitHub Desktop.
Generic Sublime Log Highlight settings suitable for Synplify, Quartus, etc.
This file contains 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
Show hidden characters
{ | |
"log_ext": [ ".log", ".rpt" ], | |
"severity" : { | |
"error" : { | |
"enable" : true, | |
"summary" : true, | |
"pattern" : [ | |
[ "^Error-\\[", "^\\s*[\\n]" ], // Error-[ ~ next empty line (multi-line) | |
[ "^{{{LINK}}}?[^\\r\\n]*?(?i)error", "[\\r\\n]" ], // a line including case-insensitive 'error' with or without a link in front of 'error' | |
[ "^\\w+:\\s*\\*E", "[\\r\\n]" ] // ...: *E ... (single line) | |
], | |
"color" : { | |
"base" : "#F92672", // error message | |
"link" : "#E6DB74", // link in error message | |
"quote" : "#4F99D3" // quote in error message | |
}, | |
"icon" : "Danish Royalty/error.png" // remove "icon" not to use icon, "dot", "circle" "bookmark" are possible | |
}, | |
"warning" : { | |
"enable" : true, | |
"summary" : true, | |
"pattern" : [ | |
[ "^Warning-\\[", "^\\s*[\\n]" ], // Warning-[ ~ next empty line (multi-line) | |
[ "^{{{LINK}}}?[^\\r\\n]*?(?i)warning", "[\\r\\n]" ],// a line including case-insensitive 'warning' with or without a link in front of 'warning' | |
[ "^\\w+:\\s*\\*W", "[\\r\\n]" ] // ...: *W ... (single line) | |
], | |
"color" : { | |
"base" : "#A1B347", // warning message | |
"link" : "#FD971F", // link in warning message | |
"quote" : "#4F99D3" // quote in warning message | |
}, | |
"icon" : "Danish Royalty/warning.png" // remove "icon" not to use icon, "dot", "circle" "bookmark" are possible | |
}, | |
"info" : { | |
"enable" : true, | |
"summary" : false, | |
"pattern" : [ | |
[ "^Information-\\[", "^\\s*[\\n]" ], // Information-[ ~ next empty line (multi-line) | |
[ "^{{{LINK}}}?[^\\r\\n]*?(?i)info", "[\\r\\n]" ], // a line including case-insensitive 'info' with or without a link in front of 'info' | |
[ "^\\[INFO\\]", "[\\r\\n]" ], // [INFO] ... (single line) | |
], | |
"color" : { | |
"base" : "#70991f", // info message | |
"link" : "#b36915", // link in info message | |
"quote" : "#428a99" // quote in info message | |
}, | |
"icon" : "Danish Royalty/info.png" // remove "icon" not to use icon, "dot", "circle" "bookmark" are possible | |
}, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment