|
| 1 | +{ |
| 2 | + "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", |
| 3 | + "name": "vscode-objectscript-output", |
| 4 | + "scopeName": "source.vscode_objectscript_output", |
| 5 | + "patterns": [ |
| 6 | + { |
| 7 | + "match": "^\\s*(?:\\> )?(?:ERROR).*\\#\\d+\\:", |
| 8 | + "name": "invalid" |
| 9 | + }, |
| 10 | + { |
| 11 | + "match": "^\\s*(?:ERROR)\\s*\\:", |
| 12 | + "name": "invalid" |
| 13 | + }, |
| 14 | + { |
| 15 | + "match": "^\\s*(?:Authorization error\\:)", |
| 16 | + "name": "invalid" |
| 17 | + }, |
| 18 | + { |
| 19 | + "match": "^Detected \\d+ errors during compilation in \\S+", |
| 20 | + "name": "invalid" |
| 21 | + }, |
| 22 | + { |
| 23 | + "match": "^Compilation finished successfully in \\S+", |
| 24 | + "name": "markup.bold" |
| 25 | + }, |
| 26 | + { |
| 27 | + "match": "(?<=^Compiling (?:class|routine|file|table) \\:? ?)[^\\:\\s]+", |
| 28 | + "name": "entity.name.class" |
| 29 | + }, |
| 30 | + { |
| 31 | + "match": "(?<=^Deleting (?:class|routine|file|table) )\\S+", |
| 32 | + "name": "entity.name.class" |
| 33 | + }, |
| 34 | + { |
| 35 | + "match": "(?<=^Dropping orphaned procedure\\: )\\S+", |
| 36 | + "name": "entity.name.class" |
| 37 | + }, |
| 38 | + { |
| 39 | + "match": "(?<=^(?:Class|Routine|File|Table) )\\S+(?= is up-to-date\\.)", |
| 40 | + "name": "entity.name.class" |
| 41 | + }, |
| 42 | + { |
| 43 | + "match": "\\S+(?= is up to date\\. Compile of this item skipped\\.)", |
| 44 | + "name": "entity.name.class" |
| 45 | + }, |
| 46 | + { |
| 47 | + "match": "(?<=^\\s*ERROR\\:\\s*)\\S+", |
| 48 | + "name": "entity.name.class" |
| 49 | + }, |
| 50 | + { |
| 51 | + "match": "\"(.*?)\"", |
| 52 | + "name": "string.quoted" |
| 53 | + }, |
| 54 | + { |
| 55 | + "match": "'(.*?)'", |
| 56 | + "name": "string.quoted" |
| 57 | + }, |
| 58 | + { |
| 59 | + "match": "\\b(((0|1)?[0-9][1-2]?)|(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sept(ember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?))[/|\\-|\\.| ]([0-2]?[0-9]|[3][0-1])[/|\\-|\\.| ]((19|20)?[0-9]{2})\\b", |
| 60 | + "name": "constant.numeric" |
| 61 | + }, |
| 62 | + { |
| 63 | + "match": "\\b((19|20)?[0-9]{2}[/|\\-|\\.| ](((0|1)?[0-9][1-2]?)|(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sept(ember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?))[/|\\-|\\.| ]([0-2]?[0-9]|[3][0-1]))\\b", |
| 64 | + "name": "constant.numeric" |
| 65 | + }, |
| 66 | + { |
| 67 | + "match": "\\b([0-2]?[0-9]|[3][0-1])[/|\\-|\\.| ](((0|1)?[0-9][1-2]?)|(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sept(ember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?))[/|\\-|\\.| ]((19|20)?[0-9]{2})\\b", |
| 68 | + "name": "constant.numeric" |
| 69 | + }, |
| 70 | + { |
| 71 | + "match": "\\b([0|1]?[0-9]|2[0-3])\\:[0-5][0-9](\\:[0-5][0-9])?( ?(?i:(a|p)m?))?( ?[+-]?[0-9]*)?\\b", |
| 72 | + "name": "constant.numeric" |
| 73 | + }, |
| 74 | + { |
| 75 | + "match": "\\b\\d+\\.?\\d*?\\b", |
| 76 | + "name": "constant.numeric" |
| 77 | + }, |
| 78 | + { |
| 79 | + "match": "\\b(?i:(0?x)?[0-9a-f][0-9a-f]+)\\b", |
| 80 | + "name": "constant.numeric" |
| 81 | + } |
| 82 | + ] |
| 83 | +} |
0 commit comments