mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
[log] update grammar
This commit is contained in:
parent
3e9d16948c
commit
4dd9f57a45
|
@ -4,7 +4,7 @@
|
|||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/emilast/vscode-logfile-highlighter/commit/3f3ea0a69165bc95f62bb487fda73e925ae229a6",
|
||||
"version": "https://github.com/emilast/vscode-logfile-highlighter/commit/8196aa2cc8dd9b1eda431203857e5317866facec",
|
||||
"scopeName": "text.log",
|
||||
"fileTypes": [
|
||||
"log"
|
||||
|
@ -52,9 +52,13 @@
|
|||
"name": "comment log.date"
|
||||
},
|
||||
{
|
||||
"match": "\\d{2}:\\d{2}(:\\d{2}([.,]\\d{3,6})?)?(Z| ?[+-]\\d{2}:\\d{2})?\\b",
|
||||
"match": "\\d{2}:\\d{2}(:\\d{2}([.,]\\d{3,})?)?(Z| ?[+-]\\d{2}:\\d{2})?\\b",
|
||||
"name": "comment log.date"
|
||||
},
|
||||
{
|
||||
"match": "\\b([0-9a-fA-F]{40}|[0-9a-fA-F]{10}|[0-9a-fA-F]{7})\\b",
|
||||
"name": "constant.language"
|
||||
},
|
||||
{
|
||||
"match": "[0-9a-fA-F]{8}[-]?([0-9a-fA-F]{4}[-]?){3}[0-9a-fA-F]{12}",
|
||||
"name": "constant.language log.constant"
|
||||
|
@ -73,7 +77,7 @@
|
|||
},
|
||||
{
|
||||
"match": "\\b([a-zA-Z.]*Exception)\\b",
|
||||
"name": "string.regexp, emphasis log.type"
|
||||
"name": "string.regexp, emphasis log.exceptiontype"
|
||||
},
|
||||
{
|
||||
"begin": "^[\\t ]*at",
|
||||
|
@ -84,6 +88,10 @@
|
|||
"match": "\\b(http|https|ftp|file)://\\S+\\b/?",
|
||||
"name": "constant.language log.constant"
|
||||
},
|
||||
{
|
||||
"match": "(([A-Za-z]\\:(\\\\|/))|(\\.(\\\\|/))|(\\.\\.(\\\\|/)){1,}|(\\\\\\\\|//)[\\w -]+(\\\\|/))([\\w -]+(\\\\|/))*",
|
||||
"name": "constant.language log.constant"
|
||||
},
|
||||
{
|
||||
"match": "\\b([\\w]+\\.)+(\\w)+\\b",
|
||||
"name": "constant.language log.constant"
|
||||
|
|
Loading…
Reference in a new issue