forked from koalamer/vsc-labeled-bookmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bookmarks.json
308 lines (308 loc) · 8.37 KB
/
bookmarks.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
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
{
"dataFormatVersion": 1,
"timestamp": 1719762844648,
"groups": [
{
"name": "debug",
"color": "dddd00ff",
"shape": "bookmark",
"iconText": "debug"
},
{
"name": "default",
"color": "00ddddff",
"shape": "bookmark",
"iconText": "default"
},
{
"name": "setting",
"color": "00ddddff",
"shape": "unicode",
"iconText": "ý"
}
],
"bookmarks": [
{
"fsPath": "package.json",
"lineNumber": 233,
"characterNumber": 22,
"label": "configuration definitions",
"lineText": "\"configuration\": {",
"isLineNumberChanged": false,
"groupName": "setting"
},
{
"fsPath": "resources/webview.js",
"lineNumber": 6,
"characterNumber": 45,
"label": "receive extension message and uodate webview elements",
"lineText": "window.addEventListener('message', event => {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "resources/webview.js",
"lineNumber": 45,
"characterNumber": 72,
"label": "select file handler, pass messages from webview to extension",
"lineText": "document.querySelectorAll(\".file-selector\").forEach(function (element) {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/decoration_factory.ts",
"lineNumber": 149,
"characterNumber": 128,
"label": "create svg decoration",
"lineText": "async create(shape: string, color: string, iconText: string, lineLabel?: string): Promise<[TextEditorDecorationType, Uri]> {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/decoration_factory.ts",
"lineNumber": 198,
"characterNumber": 85,
"label": "render svg decoration in editor",
"lineText": "let result = vscode.window.createTextEditorDecorationType(decorationOptions);",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/extension.ts",
"lineNumber": 11,
"characterNumber": 53,
"label": "vscode active entry",
"lineText": "export function activate(context: ExtensionContext) {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/extension.ts",
"lineNumber": 191,
"characterNumber": 23,
"label": "sync bookmarks before vscode exits",
"lineText": "main.saveLocalState();",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 72,
"characterNumber": 18,
"label": "storage action options",
"lineText": "}> = new Map([",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 283,
"characterNumber": 65,
"label": "save bookmarks",
"lineText": "this.persistentStorage.setBookmarks(serializedBookmarks);",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 380,
"characterNumber": 72,
"label": "update decorations",
"lineText": "public updateEditorDecorations(textEditor: TextEditor | undefined) {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 389,
"characterNumber": 65,
"label": "windows bug here?",
"lineText": "fsPath = fsPath.substring(currentProjectPath.length + 1);",
"isLineNumberChanged": false,
"groupName": "debug"
},
{
"fsPath": "src/main.ts",
"lineNumber": 404,
"characterNumber": 68,
"label": "editor change handler",
"lineText": "public onEditorDocumentChanged(event: TextDocumentChangeEvent) {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 514,
"characterNumber": 74,
"label": "get bookmarks in a file",
"lineText": "private getTempDocumentBookmarkList(fsPath: string): Array<Bookmark> {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 857,
"characterNumber": 0,
"label": "toggle boo",
"lineText": "",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 857,
"characterNumber": 70,
"label": "toggle bookmark",
"lineText": "public editorActionToggleLabeledBookmark(textEditor: TextEditor) {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 960,
"characterNumber": 62,
"label": "delete cached bookmarks belongs to a file for add new bookmarks",
"lineText": "this.tempDocumentBookmarks.delete(relativeFspath);",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 1574,
"characterNumber": 38,
"label": "all save storage entry",
"lineText": "public async executeStorageAction(",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 1652,
"characterNumber": 74,
"label": "convert bookmark abs path to relative path",
"lineText": "bm.fsPath = bm.fsPath.substring(f.length + 1);",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 1871,
"characterNumber": 53,
"label": "read default shape",
"lineText": "if (config.has(this.configKeyDefaultShape)) {",
"isLineNumberChanged": false,
"groupName": "setting"
},
{
"fsPath": "src/main.ts",
"lineNumber": 2061,
"characterNumber": 32,
"label": "load bookmarks in side bar",
"lineText": "private loadBookmarkData() {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 2112,
"characterNumber": 57,
"label": "add new bookmarks function",
"lineText": "private addNewDecoratedBookmark(bookmark: Bookmark) {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 2243,
"characterNumber": 73,
"label": "jumper to specific bookmark",
"lineText": "public jumpToBookmark(bookmark: Bookmark, preview: boolean = false) {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 2345,
"characterNumber": 37,
"label": "set save bookmark interval",
"lineText": "private setStorageRateLimiter() {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 2357,
"characterNumber": 47,
"label": "get file:// path scheme uri",
"lineText": "private getRealPath(path: string): string {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/main.ts",
"lineNumber": 2362,
"characterNumber": 56,
"label": "rate function fire save bookmarks functions",
"lineText": "this.saveBookmarkDataImmediately.bind(this),",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/storage/bookmark_storage_in_file.ts",
"lineNumber": 29,
"characterNumber": 32,
"label": "parse bookmarks from json file",
"lineText": "public async readStorage() {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/storage/bookmark_storage_in_file.ts",
"lineNumber": 108,
"characterNumber": 43,
"label": "persist bookmarks to file",
"lineText": "public async persist(): Promise<void> {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/webview/bookmark_webview.ts",
"lineNumber": 253,
"characterNumber": 35,
"label": "select file from pop up diaglog",
"lineText": "if (value === \"read\") {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/webview/bookmark_webview.ts",
"lineNumber": 263,
"characterNumber": 68,
"label": "update webview element to selected file path name",
"lineText": "this.setFormElement(name, result[0].fsPath);",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/webview/import_page.ts",
"lineNumber": 170,
"characterNumber": 25,
"label": "check if import bookmark file is existed",
"lineText": "try {",
"isLineNumberChanged": false,
"groupName": "default"
},
{
"fsPath": "src/webview/import_page.ts",
"lineNumber": 238,
"characterNumber": 89,
"label": "get map folder htmls",
"lineText": "let folderMappingControls = this.webviewContentHelper.getMappingFormControls(",
"isLineNumberChanged": false,
"groupName": "default"
}
],
"workspaceFolders": [
"/Users/daniel/code/vsc-labeled-bookmarks"
]
}