-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
198 lines (198 loc) · 6.09 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
"name": "LogFileHighlighter",
"displayName": "Log File Highlighter",
"icon": "content/appicon.png",
"description": "Adds color highlighting to log files to make it easier to follow the flow of log events and identify problems.",
"categories": [
"Other"
],
"license": "MIT",
"version": "3.3.4",
"bugs": {
"url": "https://github.com/emilast/vscode-logfile-highlighter/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/emilast/vscode-logfile-highlighter.git"
},
"engines": {
"vscode": "^1.93.0"
},
"publisher": "emilast",
"sponsor": {
"url": "https://github.com/sponsors/emilast"
},
"galleryBanner": {
"color": "#e7e0d7",
"theme": "light"
},
"extensionKind": [
"ui",
"workspace"
],
"main": "./out/src/extension",
"contributes": {
"languages": [
{
"id": "log",
"aliases": [
"Log File",
"log"
],
"extensions": [
".log"
]
}
],
"grammars": [
{
"language": "log",
"scopeName": "text.log",
"path": "./syntaxes/log.tmLanguage"
}
],
"commands": [
{
"command": "logFileHighlighter.removeProgressIndicatorDecorations",
"title": "Log File Highlighter: Remove Progress Indicator Decorations"
}
],
"keybindings": [
{
"command": "logFileHighlighter.removeProgressIndicatorDecorations",
"key": "Escape",
"when": "editorTextFocus && editorLangId == log && logFileHighlighter.isShowingProgressIndicators"
}
],
"configuration": {
"type": "object",
"title": "Log File Highlighter",
"properties": {
"logFileHighlighter.customPatterns": {
"type": "array",
"items": {
"title": "Custom patterns to highlight.",
"description": "A custom pattern that is highlighted with the given foreground color.",
"type": "object",
"properties": {
"pattern": {
"pattern": "^[^$|\\s]",
"type": "string",
"title": "The pattern that will be highlighted.",
"description": "Either the exact string to highlight, or a regular expression pattern."
},
"patternFlags": {
"type": "string",
"title": "Optional extra RegExp flags",
"description": "By default, the 'gm' flags are automatically used for all custom pattern in Log File Highlighter. This setting allows you to extend those flags. Example: 'i' for case-insensitive matching or 's' for making '.' match newline characters."
},
"foreground": {
"format": "color-hex",
"type": "string",
"title": "Foreground color",
"description": "The foreground color that will be used for highlighting."
},
"background": {
"format": "color-hex",
"type": "string",
"title": "Background color",
"description": "The background color that will be used for highlighting."
},
"highlightEntireLine": {
"type": "boolean",
"title": "Highlight Entire Line",
"description": "If true, then the entire line is highlighted and not just the pattern."
},
"fontWeight": {
"type": "string",
"title": "CSS font weight",
"description": "Font weight. Examples: 'normal', 'bold'"
},
"fontStyle": {
"type": "string",
"title": "CSS font style",
"description": "Font style. Examples: 'normal', 'italic'"
},
"border": {
"type": "string",
"title": "CSS border definition",
"description": "Border definition. Example: '4px dotted blue'."
},
"borderRadius": {
"type": "string",
"title": "CSS border radius",
"description": "Border radius, defines how rounded a border is. Example: '3px'"
},
"letterSpacing": {
"type": "string",
"title": "CSS letter spacing",
"description": "Letter spacing, can be used for adjusting the horizontal distance between characters of the matched text. Example: '3px'"
},
"overviewColor": {
"type": "string",
"title": "Marker color in the ruler",
"description": "Marker color in the ruler to the right in the text editor window. Example: 'yellow'"
},
"overviewRulerLane": {
"type": "string",
"title": "Placement of the ruler marker",
"description": "Allows for configuring the placement of the ruler marker, if 'overviewColor' is set. Allowed values: Example: 'Left', 'Right', 'Center', 'Full'"
},
"textDecoration": {
"type": "string",
"title": "CSS text decoration",
"description": "Adds additional decorations to matched text. Example: 'underline overline dotted red'"
}
},
"required": [
"pattern"
]
},
"title": "Custom highlighting patterns.",
"description": "An array of custom patterns that shall be highlighted."
},
"logFileHighlighter.enableProgressIndicator": {
"type": "boolean",
"default": true,
"description": "Enable or disable the progress indicator for selected lines"
},
"logFileHighlighter.progressIndicatorUnderlineColor": {
"format": "color-hex",
"type": "string",
"default": "#00ff1f8f",
"description": "The color to use for drawing the timestamp progress indicator underline"
},
"logFileHighlighter.enableTailMode": {
"type": "boolean",
"default": true,
"description": "Enable or disable the tail mode in log files. Scroll to the end of a file to activate it. The status bar will show 'Log File Tail Mode' when it is active."
}
}
}
},
"activationEvents": [
"onLanguage:log"
],
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"preinstall": "npx npm-force-resolutions",
"tslint": "tslint --project ./",
"unittest": "node out/test/testRunner.js -c jasmine.unittest.json"
},
"devDependencies": {
"@types/jasmine": "^5.1.4",
"@types/node": "^22.7.4",
"@types/vscode": "^1.93.0",
"@vscode/test-electron": "^2.4.1",
"jasmine": "^5.3.1",
"jasmine-core": "^5.3.0",
"minimist": "^1.2.8",
"tslint": "^6.1.3",
"typescript": "^5.6.2"
},
"dependencies": {
"moment": "^2.30.1"
}
}