forked from wayou/vscode-todo-highlight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
219 lines (219 loc) · 9.79 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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
{
"name": "vscode-todo-highlight",
"displayName": "TODO Highlight",
"description": "highlight TODOs, FIXMEs, and any keywords, annotations...",
"keywords": [
"todo",
"fixme",
"highlight",
"keyword",
"annotation"
],
"version": "1.0.4",
"publisher": "wayou",
"license": "MIT",
"icon": "assets/icon.png",
"homepage": "https://github.com/wayou/vscode-todo-highlight",
"repository": {
"type": "git",
"url": "https://github.com/wayou/vscode-todo-highlight.git"
},
"bugs": {
"url": "https://github.com/wayou/vscode-todo-highlight/issues",
"email": "[email protected]"
},
"galleryBanner": {
"color": "#272729",
"theme": "dark"
},
"engines": {
"vscode": "^1.5.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./src/extension",
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"badges": [
{
"url": "https://img.shields.io/badge/License-MIT-brightgreen.svg",
"href": "https://opensource.org/licenses/MIT",
"description": "License: MIT"
},
{
"url": "https://travis-ci.org/wayou/vscode-todo-highlight.svg?branch=master",
"href": "https://travis-ci.org/wayou/vscode-todo-highlight",
"description": "Build Status"
},
{
"url": "https://vsmarketplacebadge.apphb.com/version-short/wayou.vscode-todo-highlight.svg",
"href": "https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight",
"description": "Version"
},
{
"url": "https://vsmarketplacebadge.apphb.com/installs-short/wayou.vscode-todo-highlight.svg",
"href": "https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight",
"description": "Installs"
},
{
"url": "https://vsmarketplacebadge.apphb.com/rating-short/wayou.vscode-todo-highlight.svg",
"href": "https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight",
"description": "Ratings"
}
],
"contributes": {
"commands": [
{
"title": "Toggle highlight",
"category": "TODO-Highlight",
"command": "todohighlight.toggleHighlight"
},
{
"title": "List highlighted annotations",
"category": "TODO-Highlight",
"command": "todohighlight.listAnnotations"
}
],
"configuration": {
"type": "object",
"title": "TODO Highlight",
"properties": {
"todohighlight.isEnable": {
"type": "boolean",
"default": true,
"description": "Enable or disable the highlight"
},
"todohighlight.isCaseSensitive": {
"type": "boolean",
"default": true,
"description": "Specify whether the keywords are case sensitive or not"
},
"todohighlight.toggleURI": {
"type": "boolean",
"default": false,
"description": "If the file path within the output channel not clickable, set this to true to toggle the path patten between `<path>#<line>` and `<path>:<line>:<column>`"
},
"todohighlight.keywords": {
"type": "array",
"description": "Customize keywords and colors. Any css color identifier is valid.",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Custom text to be highlighted"
},
"color": {
"type": "string",
"description": "The text color. Besides, you can play with all the string and boolean styling properties provied by VS Code API. See all available properties on VSCode doc DecorationRenderOptions section: https://code.visualstudio.com/docs/extensionAPI/vscode-api"
},
"backgroundColor": {
"type": "string",
"description": "The text background color. See all available properties on VSCode doc DecorationRenderOptions section: https://code.visualstudio.com/docs/extensionAPI/vscode-api"
},
"overviewRulerColor": {
"type": "string",
"description": "The color of the ruler mark on the scroll bar. Use rgba() and define transparent colors to play well with other decorations. See all available properties on VSCode doc DecorationRenderOptions section: https://code.visualstudio.com/docs/extensionAPI/vscode-api"
}
}
}
]
}
},
"todohighlight.keywordsPattern": {
"type": "string",
"default": "",
"description": "Specify keywords via RegExp instead of `todohighlight.keywords` one by one. NOTE that if this presents, `todohighlight.keywords` will be ignored. And REMEMBER to escapse the back slash if there's any in your regexp (using \\\\ instead of single back slash)"
},
"todohighlight.defaultStyle": {
"type": "object",
"description": "Default style for all customized keywords",
"properties": {
"color": {
"type": "string",
"description": "The text color. See all available properties on VSCode doc DecorationRenderOptions section: https://code.visualstudio.com/docs/extensionAPI/vscode-api"
},
"backgroundColor": {
"type": "string",
"description": "The text background color. See all available properties on VSCode doc DecorationRenderOptions section: https://code.visualstudio.com/docs/extensionAPI/vscode-api"
},
"overviewRulerColor": {
"type": "string",
"description": "The color of the ruler mark on the scroll bar. See all available properties on VSCode doc DecorationRenderOptions section: https://code.visualstudio.com/docs/extensionAPI/vscode-api"
}
}
},
"todohighlight.include": {
"type": "array",
"default": [
"**/*.js",
"**/*.jsx",
"**/*.ts",
"**/*.tsx",
"**/*.html",
"**/*.php",
"**/*.css",
"**/*.scss"
],
"description": "Glob patterns that defines the files to search for. Only include files you need, DO NOT USE `{**/*.*}` for both permormance and avoiding binary files reason.",
"items": {
"anyOf": [
{
"type": "string",
"description": "A glob pattern that defines the files to search for. Only include files you need, DO NOT USE `**/*.*` for both performance and avoiding binary files reason"
}
]
}
},
"todohighlight.exclude": {
"type": "array",
"default": [
"**/node_modules/**",
"**/bower_components/**",
"**/dist/**",
"**/build/**",
"**/.vscode/**",
"**/.github/**",
"**/_output/**",
"**/*.min.*",
"**/*.map",
"**/.next/**"
],
"description": "Glob pattern that defines files and folders to exclude while listing annotations.",
"items": {
"anyOf": [
{
"type": "string",
"description": "A glob pattern that defines files and folders to exclude while listing annotations"
}
]
}
},
"todohighlight.maxFilesForSearch": {
"type": "number",
"default": 5120,
"description": "Max files for searching"
}
}
}
},
"devDependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.0",
"mocha": "^2.3.3",
"eslint": "^3.6.0",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.32"
}
}