-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
352 lines (352 loc) · 14.7 KB
/
package.json
File metadata and controls
352 lines (352 loc) · 14.7 KB
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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
{
"name": "vscode-inline-bookmarks",
"displayName": "Inline Bookmarks",
"description": "Customizable Inline Bookmarks",
"version": "0.1.0",
"license": "GPLv3",
"keywords": [
"bookmark",
"bookmarks",
"audit",
"audit-tag",
"tag",
"sticky",
"jump",
"mark",
"selection",
"navigation",
"highlight"
],
"publisher": "tintinweb",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.20.2"
},
"categories": [
"Other"
],
"bugs": {
"url": "https://github.com/tintinweb/vscode-inline-bookmarks/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/tintinweb/vscode-inline-bookmarks"
},
"activationEvents": [
"*",
"onView:inlineBookmarksExplorer",
"onCommand:inlineBookmarks.jumpToRange",
"onCommand:inlineBookmarks.refresh",
"onCommand:inlineBookmarks.toggleShowVisibleFilesOnly",
"onCommand:inlineBookmarks.toggleViewKeepFilesExpanded",
"onCommand:inlineBookmarks.debug.state.reset",
"onCommand:inlineBookmarks.showSelectBookmark",
"onCommand:inlineBookmarks.showSelectVisibleBookmark",
"onCommand:inlineBookmarks.listBookmarks",
"onCommand:inlineBookmarks.listVisibleBookmarks",
"onCommand:inlineBookmarks.scanWorkspace"
],
"main": "./src/extension.js",
"contributes": {
"commands": [
{
"command": "inlineBookmarks.refresh",
"title": "Quick-Refresh View",
"category": "InlineBookmarks",
"icon": {
"light": "images/refresh-light.svg",
"dark": "images/refresh-dark.svg"
}
},
{
"command": "inlineBookmarks.toggleShowVisibleFilesOnly",
"title": "Toggle: Show Bookmarks for Visible Editors / All Files",
"category": "InlineBookmarks",
"icon": {
"light": "images/toggle-files-light.svg",
"dark": "images/toggle-files-dark.svg"
}
},
{
"command": "inlineBookmarks.toggleViewKeepFilesExpanded",
"title": "Toggle: Keep File View expanded",
"category": "InlineBookmarks",
"icon": "images/toggle-expanded.svg"
},
{
"command": "inlineBookmarks.jumpToPrevious",
"title": "Jump to Previous",
"category": "InlineBookmarks",
"icon": {
"light": "images/jump-previous.svg",
"dark": "images/jump-previous-dark.svg"
}
},
{
"command": "inlineBookmarks.jumpToNext",
"title": "Jump to Next",
"category": "InlineBookmarks",
"icon": {
"light": "images/jump-next.svg",
"dark": "images/jump-next-dark.svg"
}
},
{
"command": "inlineBookmarks.setTreeViewFilterWords",
"title": "Filter View ...",
"category": "InlineBookmarks",
"icon": {
"light": "images/filter-light.svg",
"dark": "images/filter-dark.svg"
}
},
{
"command": "inlineBookmarks.showSelectBookmark",
"title": "Select Bookmark",
"category": "InlineBookmarks"
},
{
"command": "inlineBookmarks.showSelectVisibleBookmark",
"title": "Select Visible Bookmark",
"category": "InlineBookmarks"
},
{
"command": "inlineBookmarks.listBookmarks",
"title": "List Bookmarks",
"category": "InlineBookmarks"
},
{
"command": "inlineBookmarks.listVisibleBookmarks",
"title": "List Visible Bookmarks",
"category": "InlineBookmarks"
},
{
"command": "inlineBookmarks.scanWorkspace",
"title": "Scan Workspace for Bookmarks",
"category": "InlineBookmarks",
"icon": {
"light": "images/scan-workspace.svg",
"dark": "images/scan-workspace-dark.svg"
}
},
{
"command": "inlineBookmarks.debug.state.reset",
"title": "Reset the internal state to fix potential problems",
"category": "InlineBookmarks:Debug"
}
],
"views": {
"explorer": [
{
"id": "inlineBookmarksExplorer",
"name": "📘 Inline Bookmarks"
}
]
},
"menus": {
"view/title": [
{
"command": "inlineBookmarks.jumpToPrevious",
"when": "view == inlineBookmarksExplorer",
"group": "navigation@1"
},
{
"command": "inlineBookmarks.jumpToNext",
"when": "view == inlineBookmarksExplorer",
"group": "navigation@2"
},
{
"command": "inlineBookmarks.setTreeViewFilterWords",
"when": "view == inlineBookmarksExplorer",
"group": "navigation@3"
},
{
"command": "inlineBookmarks.toggleShowVisibleFilesOnly",
"when": "view == inlineBookmarksExplorer",
"group": "navigation@4"
},
{
"command": "inlineBookmarks.refresh",
"when": "view == inlineBookmarksExplorer",
"group": "navigation@5"
},
{
"command": "inlineBookmarks.scanWorkspace",
"when": "view == inlineBookmarksExplorer",
"group": "navigation@6"
}
]
},
"configuration": {
"type": "object",
"title": "Inline Bookmarks",
"properties": {
"inline-bookmarks.enable": {
"category": "general",
"type": "boolean",
"default": true,
"description": "Enable/Disable the extension."
},
"inline-bookmarks.view.showVisibleFilesOnly": {
"category": "view",
"type": "boolean",
"default": false,
"description": "Show bookmarks for visible editors/files only."
},
"inline-bookmarks.view.showVisibleFilesOnlyMode": {
"category": "view",
"type": "string",
"enum": [
"allVisibleEditors",
"onlyActiveEditor"
],
"default": "allVisibleEditors",
"description": "Select 'Show Visible editors only' mode. Either show bookmarks for all visible editors or only for the currently selected editor. default: All Visible Editors"
},
"inline-bookmarks.view.expanded": {
"category": "view",
"type": "boolean",
"default": false,
"description": "Keep File View expanded otherwise collapsed."
},
"inline-bookmarks.view.follow": {
"category": "view",
"type": "boolean",
"default": true,
"description": "Follow bookmarks while clicking in the editor window. Highlights nearest bookmarks in the bookmarks view. (see `view.followMode` to change the follow behavior)"
},
"inline-bookmarks.view.followMode": {
"category": "view",
"type": "string",
"enum": [
"nearest",
"chapter"
],
"default": "nearest",
"markdownDescription": "Follow mode for highlighting bookmarks in the bookmarks view. **nearest** (Default): highlight nearest bookmark relative to the current selection. **chapter**: highlight nearest bookmark before or on the currently selected line."
},
"inline-bookmarks.view.lineMode": {
"category": "view",
"type": "string",
"enum": [
"selected-bookmark",
"current-line"
],
"default": "selected-bookmark",
"description": "Defines Jump to Next/Previous Bookmark behavior. **selected-bookmark** (Default): jump based on selected bookmark in editor. **current-line**: jump based on the current selected line number in the editor."
},
"inline-bookmarks.view.words.hide": {
"category": "view",
"type": "boolean",
"default": false,
"markdownDescription": "Hide tags/trigger words in bookmark view if a comment was provided."
},
"inline-bookmarks.view.exclude.gitIgnore": {
"category": "view",
"type": "boolean",
"default": false,
"markdownDescription": "Hide items from the bookmark view that match an exclusion defined by a .gitignore file (requires reload)"
},
"inline-bookmarks.default.words.red": {
"category": "trigger words",
"type": "string",
"default": "@audit[\\s]",
"markdownDescription": "A comma-separated list of tags/trigger words (regex accepted) to highlight `red`."
},
"inline-bookmarks.default.words.green": {
"category": "trigger words",
"type": "string",
"default": "@audit\\-ok[\\s]",
"markdownDescription": "A comma-separated list of tags/trigger words (regex accepted) to highlight `green`."
},
"inline-bookmarks.default.words.blue": {
"category": "trigger words",
"type": "string",
"default": "@audit\\-info[\\s], @todo[\\s], @note[\\s], @remind[\\s], @follow-up[\\s]",
"markdownDescription": "A comma-separated list of tags/trigger words (regex accepted) to highlight `blue`."
},
"inline-bookmarks.default.words.purple": {
"category": "trigger words",
"type": "string",
"default": "@audit\\-issue[\\s]",
"markdownDescription": "A comma-separated list of tags/trigger words (regex accepted) to highlight `purple`."
},
"inline-bookmarks.exceptions.words.ignore": {
"category": "exceptions",
"type": "string",
"default": "",
"markdownDescription": "A comma-separated list of tags/trigger words (`inline-bookmarks.words`) that will not be decorated."
},
"inline-bookmarks.exceptions.file.extensions.ignore": {
"category": "exceptions",
"type": "string",
"default": "",
"markdownDescription": "A comma-separated list of file extensions to ignore (e.g. .java)."
},
"inline-bookmarks.expert.custom.styles": {
"category": "expert",
"type": "object",
"default": {},
"description": "Specify Custom Decoration Profiles",
"properties": {}
},
"inline-bookmarks.expert.custom.words.mapping": {
"category": "expert",
"type": "object",
"default": {},
"description": "Assigns tags/trigger words to decoration profiles",
"properties": {}
},
"inline-bookmarks.search.includes": {
"type": "array",
"default": [
"**/*"
],
"description": "Glob patterns that defines the files to search for. Only include files you need, DO NOT USE `{**/*.*}` for both perfmormance 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"
}
]
}
},
"inline-bookmarks.search.excludes": {
"type": "array",
"default": [
"**/.git/**",
"**/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"
}
]
}
},
"inline-bookmarks.search.maxFiles": {
"type": "number",
"default": 5120,
"description": "Max files for searching"
}
}
}
},
"dependencies": {
"ignore": "^5.2.0",
"vscode-uri": "^3.0.3"
}
}