@opensumi/sumi 2.19.12-next-1662360752.0 → 2.19.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/manifest.json CHANGED
@@ -1,286 +1,441 @@
1
1
  {
2
2
  "meta": {
3
3
  "@opensumi/ide-addons": {
4
- "version": "2.14.4",
5
- "entry": ["node", "browser", "common"]
4
+ "version": "2.19.12",
5
+ "entry": [
6
+ "node",
7
+ "browser",
8
+ "common"
9
+ ]
6
10
  },
7
11
  "@opensumi/ide-comments": {
8
- "version": "2.14.4",
9
- "entry": ["browser", "common"]
12
+ "version": "2.19.12",
13
+ "entry": [
14
+ "browser",
15
+ "common"
16
+ ]
10
17
  },
11
18
  "@opensumi/ide-components": {
12
- "version": "2.14.4",
19
+ "version": "2.19.12",
13
20
  "entry": []
14
21
  },
15
22
  "@opensumi/ide-connection": {
16
- "version": "2.14.4",
17
- "entry": ["node"]
23
+ "version": "2.19.12",
24
+ "entry": [
25
+ "node",
26
+ "browser",
27
+ "common"
28
+ ]
18
29
  },
19
30
  "@opensumi/ide-core-browser": {
20
- "version": "2.14.4",
21
- "entry": ["common"]
31
+ "version": "2.19.12",
32
+ "entry": [
33
+ "common"
34
+ ]
22
35
  },
23
36
  "@opensumi/ide-core-common": {
24
- "version": "2.14.4",
37
+ "version": "2.19.12",
25
38
  "entry": []
26
39
  },
27
40
  "@opensumi/ide-core-electron-main": {
28
- "version": "2.14.4",
41
+ "version": "2.19.12",
29
42
  "entry": []
30
43
  },
31
44
  "@opensumi/ide-core-node": {
32
- "version": "2.14.4",
45
+ "version": "2.19.12",
33
46
  "entry": []
34
47
  },
35
48
  "@opensumi/ide-debug": {
36
- "version": "2.14.4",
37
- "entry": ["browser", "common"]
49
+ "version": "2.19.12",
50
+ "entry": [
51
+ "browser",
52
+ "common"
53
+ ]
38
54
  },
39
55
  "@opensumi/ide-decoration": {
40
- "version": "2.14.4",
41
- "entry": ["browser", "common"]
56
+ "version": "2.19.12",
57
+ "entry": [
58
+ "browser",
59
+ "common"
60
+ ]
42
61
  },
43
62
  "@opensumi/ide-editor": {
44
- "version": "2.14.4",
45
- "entry": ["browser", "common"]
63
+ "version": "2.19.12",
64
+ "entry": [
65
+ "browser",
66
+ "common"
67
+ ]
46
68
  },
47
69
  "@opensumi/ide-electron-basic": {
48
- "version": "2.14.4",
49
- "entry": ["browser"]
70
+ "version": "2.19.12",
71
+ "entry": [
72
+ "browser"
73
+ ]
50
74
  },
51
75
  "@opensumi/ide-explorer": {
52
- "version": "2.14.4",
53
- "entry": ["browser"]
76
+ "version": "2.19.12",
77
+ "entry": [
78
+ "browser"
79
+ ]
54
80
  },
55
81
  "@opensumi/ide-express-file-server": {
56
- "version": "2.14.4",
57
- "entry": ["node", "browser", "common"]
82
+ "version": "2.19.12",
83
+ "entry": [
84
+ "node",
85
+ "browser",
86
+ "common"
87
+ ]
58
88
  },
59
89
  "@opensumi/ide-extension": {
60
- "version": "2.14.4",
61
- "entry": ["node", "browser", "common"]
90
+ "version": "2.19.12",
91
+ "entry": [
92
+ "node",
93
+ "browser",
94
+ "common"
95
+ ]
62
96
  },
63
97
  "@opensumi/ide-extension-manager": {
64
- "version": "2.14.4",
65
- "entry": ["node", "browser", "common"]
98
+ "version": "2.19.12",
99
+ "entry": [
100
+ "node",
101
+ "browser",
102
+ "common"
103
+ ]
66
104
  },
67
105
  "@opensumi/ide-extension-storage": {
68
- "version": "2.14.4",
69
- "entry": ["browser", "common"]
106
+ "version": "2.19.12",
107
+ "entry": [
108
+ "browser",
109
+ "common"
110
+ ]
70
111
  },
71
112
  "@opensumi/ide-file-scheme": {
72
- "version": "2.14.4",
73
- "entry": ["node", "browser", "common"]
113
+ "version": "2.19.12",
114
+ "entry": [
115
+ "node",
116
+ "browser",
117
+ "common"
118
+ ]
74
119
  },
75
120
  "@opensumi/ide-file-search": {
76
- "version": "2.14.4",
77
- "entry": ["node", "common"]
121
+ "version": "2.19.12",
122
+ "entry": [
123
+ "node",
124
+ "common"
125
+ ]
78
126
  },
79
127
  "@opensumi/ide-file-service": {
80
- "version": "2.14.4",
81
- "entry": ["node", "browser", "common"]
128
+ "version": "2.19.12",
129
+ "entry": [
130
+ "node",
131
+ "browser",
132
+ "common"
133
+ ]
82
134
  },
83
135
  "@opensumi/ide-file-tree-next": {
84
- "version": "2.14.4",
85
- "entry": ["browser", "common"]
136
+ "version": "2.19.12",
137
+ "entry": [
138
+ "browser",
139
+ "common"
140
+ ]
86
141
  },
87
142
  "@opensumi/ide-i18n": {
88
- "version": "2.14.4",
89
- "entry": ["browser", "common"]
143
+ "version": "2.19.12",
144
+ "entry": [
145
+ "browser",
146
+ "common"
147
+ ]
90
148
  },
91
149
  "@opensumi/ide-keymaps": {
92
- "version": "2.14.4",
93
- "entry": ["browser", "common"]
150
+ "version": "2.19.12",
151
+ "entry": [
152
+ "browser",
153
+ "common"
154
+ ]
94
155
  },
95
156
  "@opensumi/ide-logs": {
96
- "version": "2.14.4",
97
- "entry": ["node", "browser", "common"]
157
+ "version": "2.19.12",
158
+ "entry": [
159
+ "node",
160
+ "browser",
161
+ "common"
162
+ ]
98
163
  },
99
164
  "@opensumi/ide-main-layout": {
100
- "version": "2.14.4",
101
- "entry": ["browser", "common"]
165
+ "version": "2.19.12",
166
+ "entry": [
167
+ "browser",
168
+ "common"
169
+ ]
102
170
  },
103
171
  "@opensumi/ide-markdown": {
104
- "version": "2.14.4",
105
- "entry": ["browser", "common"]
172
+ "version": "2.19.12",
173
+ "entry": [
174
+ "browser",
175
+ "common"
176
+ ]
106
177
  },
107
178
  "@opensumi/ide-markers": {
108
- "version": "2.14.4",
109
- "entry": ["browser", "common"]
179
+ "version": "2.19.12",
180
+ "entry": [
181
+ "browser",
182
+ "common"
183
+ ]
110
184
  },
111
185
  "@opensumi/ide-menu-bar": {
112
- "version": "2.14.4",
113
- "entry": ["browser"]
186
+ "version": "2.19.12",
187
+ "entry": [
188
+ "browser"
189
+ ]
114
190
  },
115
191
  "@opensumi/ide-monaco": {
116
- "version": "2.14.4",
117
- "entry": ["browser", "common"]
192
+ "version": "2.19.12",
193
+ "entry": [
194
+ "browser",
195
+ "common"
196
+ ]
118
197
  },
119
198
  "@opensumi/ide-monaco-enhance": {
120
- "version": "2.14.4",
121
- "entry": ["browser", "common"]
199
+ "version": "2.19.12",
200
+ "entry": [
201
+ "browser",
202
+ "common"
203
+ ]
122
204
  },
123
205
  "@opensumi/ide-opened-editor": {
124
- "version": "2.14.4",
125
- "entry": ["browser"]
206
+ "version": "2.19.12",
207
+ "entry": [
208
+ "browser"
209
+ ]
126
210
  },
127
211
  "@opensumi/ide-outline": {
128
- "version": "2.14.4",
129
- "entry": ["browser", "common"]
212
+ "version": "2.19.12",
213
+ "entry": [
214
+ "browser",
215
+ "common"
216
+ ]
130
217
  },
131
218
  "@opensumi/ide-output": {
132
- "version": "2.14.4",
133
- "entry": ["browser", "common"]
219
+ "version": "2.19.12",
220
+ "entry": [
221
+ "browser",
222
+ "common"
223
+ ]
134
224
  },
135
225
  "@opensumi/ide-overlay": {
136
- "version": "2.14.4",
137
- "entry": ["browser", "common"]
226
+ "version": "2.19.12",
227
+ "entry": [
228
+ "browser",
229
+ "common"
230
+ ]
138
231
  },
139
232
  "@opensumi/ide-preferences": {
140
- "version": "2.14.4",
141
- "entry": ["browser", "common"]
233
+ "version": "2.19.12",
234
+ "entry": [
235
+ "browser",
236
+ "common"
237
+ ]
142
238
  },
143
239
  "@opensumi/ide-process": {
144
- "version": "2.14.4",
145
- "entry": ["node", "common"]
240
+ "version": "2.19.12",
241
+ "entry": [
242
+ "node",
243
+ "common"
244
+ ]
146
245
  },
147
246
  "@opensumi/ide-quick-open": {
148
- "version": "2.14.4",
149
- "entry": ["browser", "common"]
247
+ "version": "2.19.12",
248
+ "entry": [
249
+ "browser",
250
+ "common"
251
+ ]
150
252
  },
151
253
  "@opensumi/remote-cli": {
152
- "version": "2.14.4",
254
+ "version": "2.19.12",
153
255
  "entry": []
154
256
  },
155
257
  "@opensumi/ide-remote-opener": {
156
- "version": "2.14.4",
157
- "entry": ["node", "browser", "common"]
258
+ "version": "2.19.12",
259
+ "entry": [
260
+ "node",
261
+ "browser",
262
+ "common"
263
+ ]
158
264
  },
159
265
  "@opensumi/ide-scm": {
160
- "version": "2.14.4",
161
- "entry": ["browser", "common"]
266
+ "version": "2.19.12",
267
+ "entry": [
268
+ "browser",
269
+ "common"
270
+ ]
162
271
  },
163
272
  "@opensumi/ide-search": {
164
- "version": "2.14.4",
165
- "entry": ["node", "browser", "common"]
273
+ "version": "2.19.12",
274
+ "entry": [
275
+ "node",
276
+ "browser",
277
+ "common"
278
+ ]
166
279
  },
167
280
  "@opensumi/ide-startup": {
168
- "version": "2.14.4",
169
- "entry": ["browser"]
281
+ "version": "2.19.12",
282
+ "entry": [
283
+ "browser"
284
+ ]
170
285
  },
171
286
  "@opensumi/ide-static-resource": {
172
- "version": "2.14.4",
173
- "entry": ["browser"]
287
+ "version": "2.19.12",
288
+ "entry": [
289
+ "browser"
290
+ ]
174
291
  },
175
292
  "@opensumi/ide-status-bar": {
176
- "version": "2.14.4",
177
- "entry": ["browser", "common"]
293
+ "version": "2.19.12",
294
+ "entry": [
295
+ "browser",
296
+ "common"
297
+ ]
178
298
  },
179
299
  "@opensumi/ide-storage": {
180
- "version": "2.14.4",
181
- "entry": ["browser", "common"]
300
+ "version": "2.19.12",
301
+ "entry": [
302
+ "browser",
303
+ "common"
304
+ ]
182
305
  },
183
306
  "@opensumi/ide-task": {
184
- "version": "2.14.4",
185
- "entry": ["node", "browser", "common"]
307
+ "version": "2.19.12",
308
+ "entry": [
309
+ "browser",
310
+ "common"
311
+ ]
186
312
  },
187
313
  "@opensumi/ide-terminal-next": {
188
- "version": "2.14.4",
189
- "entry": ["node", "browser", "common"]
314
+ "version": "2.19.12",
315
+ "entry": [
316
+ "node",
317
+ "browser",
318
+ "common"
319
+ ]
190
320
  },
191
321
  "@opensumi/ide-testing": {
192
- "version": "2.14.4",
193
- "entry": ["browser", "common"]
322
+ "version": "2.19.12",
323
+ "entry": [
324
+ "browser",
325
+ "common"
326
+ ]
194
327
  },
195
328
  "@opensumi/ide-theme": {
196
- "version": "2.14.4",
197
- "entry": ["browser", "common"]
329
+ "version": "2.19.12",
330
+ "entry": [
331
+ "browser",
332
+ "common"
333
+ ]
198
334
  },
199
335
  "@opensumi/ide-toolbar": {
200
- "version": "2.14.4",
201
- "entry": ["browser", "common"]
336
+ "version": "2.19.12",
337
+ "entry": [
338
+ "browser"
339
+ ]
202
340
  },
203
341
  "@opensumi/sumi": {
204
- "version": "2.14.4",
342
+ "version": "2.19.12",
205
343
  "entry": []
206
344
  },
207
345
  "@opensumi/ide-userstorage": {
208
- "version": "2.14.4",
346
+ "version": "2.19.12",
347
+ "entry": []
348
+ },
349
+ "@opensumi/ide-utils": {
350
+ "version": "2.19.12",
209
351
  "entry": []
210
352
  },
211
353
  "@opensumi/ide-variable": {
212
- "version": "2.14.4",
213
- "entry": ["browser", "common"]
354
+ "version": "2.19.12",
355
+ "entry": [
356
+ "browser",
357
+ "common"
358
+ ]
214
359
  },
215
360
  "@opensumi/ide-webview": {
216
- "version": "2.14.4",
217
- "entry": ["browser", "common"]
361
+ "version": "2.19.12",
362
+ "entry": [
363
+ "browser",
364
+ "common"
365
+ ]
218
366
  },
219
367
  "@opensumi/ide-workspace": {
220
- "version": "2.14.4",
221
- "entry": ["browser", "common"]
368
+ "version": "2.19.12",
369
+ "entry": [
370
+ "browser",
371
+ "common"
372
+ ]
222
373
  },
223
374
  "@opensumi/ide-workspace-edit": {
224
- "version": "2.14.4",
225
- "entry": ["browser", "common"]
375
+ "version": "2.19.12",
376
+ "entry": [
377
+ "browser",
378
+ "common"
379
+ ]
226
380
  }
227
381
  },
228
382
  "packages": {
229
- "@opensumi/ide-addons": "2.14.4",
230
- "@opensumi/ide-comments": "2.14.4",
231
- "@opensumi/ide-components": "2.14.4",
232
- "@opensumi/ide-connection": "2.14.4",
233
- "@opensumi/ide-core-browser": "2.14.4",
234
- "@opensumi/ide-core-common": "2.14.4",
235
- "@opensumi/ide-core-electron-main": "2.14.4",
236
- "@opensumi/ide-core-node": "2.14.4",
237
- "@opensumi/ide-debug": "2.14.4",
238
- "@opensumi/ide-decoration": "2.14.4",
239
- "@opensumi/ide-editor": "2.14.4",
240
- "@opensumi/ide-electron-basic": "2.14.4",
241
- "@opensumi/ide-explorer": "2.14.4",
242
- "@opensumi/ide-express-file-server": "2.14.4",
243
- "@opensumi/ide-extension": "2.14.4",
244
- "@opensumi/ide-extension-manager": "2.14.4",
245
- "@opensumi/ide-extension-storage": "2.14.4",
246
- "@opensumi/ide-file-scheme": "2.14.4",
247
- "@opensumi/ide-file-search": "2.14.4",
248
- "@opensumi/ide-file-service": "2.14.4",
249
- "@opensumi/ide-file-tree-next": "2.14.4",
250
- "@opensumi/ide-i18n": "2.14.4",
251
- "@opensumi/ide-keymaps": "2.14.4",
252
- "@opensumi/ide-logs": "2.14.4",
253
- "@opensumi/ide-main-layout": "2.14.4",
254
- "@opensumi/ide-markdown": "2.14.4",
255
- "@opensumi/ide-markers": "2.14.4",
256
- "@opensumi/ide-menu-bar": "2.14.4",
257
- "@opensumi/ide-monaco": "2.14.4",
258
- "@opensumi/ide-monaco-enhance": "2.14.4",
259
- "@opensumi/ide-opened-editor": "2.14.4",
260
- "@opensumi/ide-outline": "2.14.4",
261
- "@opensumi/ide-output": "2.14.4",
262
- "@opensumi/ide-overlay": "2.14.4",
263
- "@opensumi/ide-preferences": "2.14.4",
264
- "@opensumi/ide-process": "2.14.4",
265
- "@opensumi/ide-quick-open": "2.14.4",
266
- "@opensumi/remote-cli": "2.14.4",
267
- "@opensumi/ide-remote-opener": "2.14.4",
268
- "@opensumi/ide-scm": "2.14.4",
269
- "@opensumi/ide-search": "2.14.4",
270
- "@opensumi/ide-startup": "2.14.4",
271
- "@opensumi/ide-static-resource": "2.14.4",
272
- "@opensumi/ide-status-bar": "2.14.4",
273
- "@opensumi/ide-storage": "2.14.4",
274
- "@opensumi/ide-task": "2.14.4",
275
- "@opensumi/ide-terminal-next": "2.14.4",
276
- "@opensumi/ide-testing": "2.14.4",
277
- "@opensumi/ide-theme": "2.14.4",
278
- "@opensumi/ide-toolbar": "2.14.4",
279
- "@opensumi/sumi": "2.14.4",
280
- "@opensumi/ide-userstorage": "2.14.4",
281
- "@opensumi/ide-variable": "2.14.4",
282
- "@opensumi/ide-webview": "2.14.4",
283
- "@opensumi/ide-workspace": "2.14.4",
284
- "@opensumi/ide-workspace-edit": "2.14.4"
383
+ "@opensumi/ide-addons": "2.19.12",
384
+ "@opensumi/ide-comments": "2.19.12",
385
+ "@opensumi/ide-components": "2.19.12",
386
+ "@opensumi/ide-connection": "2.19.12",
387
+ "@opensumi/ide-core-browser": "2.19.12",
388
+ "@opensumi/ide-core-common": "2.19.12",
389
+ "@opensumi/ide-core-electron-main": "2.19.12",
390
+ "@opensumi/ide-core-node": "2.19.12",
391
+ "@opensumi/ide-debug": "2.19.12",
392
+ "@opensumi/ide-decoration": "2.19.12",
393
+ "@opensumi/ide-editor": "2.19.12",
394
+ "@opensumi/ide-electron-basic": "2.19.12",
395
+ "@opensumi/ide-explorer": "2.19.12",
396
+ "@opensumi/ide-express-file-server": "2.19.12",
397
+ "@opensumi/ide-extension": "2.19.12",
398
+ "@opensumi/ide-extension-manager": "2.19.12",
399
+ "@opensumi/ide-extension-storage": "2.19.12",
400
+ "@opensumi/ide-file-scheme": "2.19.12",
401
+ "@opensumi/ide-file-search": "2.19.12",
402
+ "@opensumi/ide-file-service": "2.19.12",
403
+ "@opensumi/ide-file-tree-next": "2.19.12",
404
+ "@opensumi/ide-i18n": "2.19.12",
405
+ "@opensumi/ide-keymaps": "2.19.12",
406
+ "@opensumi/ide-logs": "2.19.12",
407
+ "@opensumi/ide-main-layout": "2.19.12",
408
+ "@opensumi/ide-markdown": "2.19.12",
409
+ "@opensumi/ide-markers": "2.19.12",
410
+ "@opensumi/ide-menu-bar": "2.19.12",
411
+ "@opensumi/ide-monaco": "2.19.12",
412
+ "@opensumi/ide-monaco-enhance": "2.19.12",
413
+ "@opensumi/ide-opened-editor": "2.19.12",
414
+ "@opensumi/ide-outline": "2.19.12",
415
+ "@opensumi/ide-output": "2.19.12",
416
+ "@opensumi/ide-overlay": "2.19.12",
417
+ "@opensumi/ide-preferences": "2.19.12",
418
+ "@opensumi/ide-process": "2.19.12",
419
+ "@opensumi/ide-quick-open": "2.19.12",
420
+ "@opensumi/remote-cli": "2.19.12",
421
+ "@opensumi/ide-remote-opener": "2.19.12",
422
+ "@opensumi/ide-scm": "2.19.12",
423
+ "@opensumi/ide-search": "2.19.12",
424
+ "@opensumi/ide-startup": "2.19.12",
425
+ "@opensumi/ide-static-resource": "2.19.12",
426
+ "@opensumi/ide-status-bar": "2.19.12",
427
+ "@opensumi/ide-storage": "2.19.12",
428
+ "@opensumi/ide-task": "2.19.12",
429
+ "@opensumi/ide-terminal-next": "2.19.12",
430
+ "@opensumi/ide-testing": "2.19.12",
431
+ "@opensumi/ide-theme": "2.19.12",
432
+ "@opensumi/ide-toolbar": "2.19.12",
433
+ "@opensumi/sumi": "2.19.12",
434
+ "@opensumi/ide-userstorage": "2.19.12",
435
+ "@opensumi/ide-utils": "2.19.12",
436
+ "@opensumi/ide-variable": "2.19.12",
437
+ "@opensumi/ide-webview": "2.19.12",
438
+ "@opensumi/ide-workspace": "2.19.12",
439
+ "@opensumi/ide-workspace-edit": "2.19.12"
285
440
  }
286
441
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/sumi",
3
- "version": "2.19.12-next-1662360752.0",
3
+ "version": "2.19.12",
4
4
  "typings": "index.d.ts",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -12,9 +12,9 @@
12
12
  "build": "ts-node ./build"
13
13
  },
14
14
  "dependencies": {
15
- "@opensumi/ide-components": "2.19.12-next-1662360752.0",
15
+ "@opensumi/ide-components": "2.19.12",
16
16
  "@types/react": "^16.9.33",
17
17
  "vscode-uri": "^3.0.2"
18
18
  },
19
- "gitHead": "610a83d7e3d6e88614216de2d07fa775894aa343"
19
+ "gitHead": "6eafe648073ba41d1b443c131754b25c2920ebaa"
20
20
  }
@@ -54,20 +54,6 @@ declare module 'vscode' {
54
54
  * @return A [disposable](#Disposable) that unregisters this provider when being disposed.
55
55
  */
56
56
  export function registerCompletionItemProvider(selector: DocumentSelector, provider: CompletionItemProvider, ...triggerCharacters: string[]): Disposable;
57
-
58
- /**
59
- * Registers an inline completion provider.
60
- *
61
- * Multiple providers can be registered for a language. In that case providers are asked in
62
- * parallel and the results are merged. A failing provider (rejected promise or exception) will
63
- * not cause a failure of the whole operation.
64
- *
65
- * @param selector A selector that defines the documents this provider is applicable to.
66
- * @param provider An inline completion provider.
67
- * @return A {@link Disposable} that unregisters this provider when being disposed.
68
- */
69
- export function registerInlineCompletionItemProvider(selector: DocumentSelector, provider: InlineCompletionItemProvider): Disposable;
70
-
71
57
  /**
72
58
  * Register a code lens provider.
73
59
  *
@@ -1216,50 +1202,6 @@ declare module 'vscode' {
1216
1202
  */
1217
1203
  constructor(items?: T[], isIncomplete?: boolean);
1218
1204
  }
1219
-
1220
- /**
1221
- * An inline completion item represents a text snippet that is proposed inline to complete text that is being typed.
1222
- *
1223
- * @see {@link InlineCompletionItemProvider.provideInlineCompletionItems}
1224
- */
1225
- export class InlineCompletionItem {
1226
- /**
1227
- * The text to replace the range with. Must be set.
1228
- * Is used both for the preview and the accept operation.
1229
- */
1230
- insertText: string | SnippetString;
1231
-
1232
- /**
1233
- * A text that is used to decide if this inline completion should be shown. When `falsy`
1234
- * the {@link InlineCompletionItem.insertText} is used.
1235
- *
1236
- * An inline completion is shown if the text to replace is a prefix of the filter text.
1237
- */
1238
- filterText?: string;
1239
-
1240
- /**
1241
- * The range to replace.
1242
- * Must begin and end on the same line.
1243
- *
1244
- * Prefer replacements over insertions to provide a better experience when the user deletes typed text.
1245
- */
1246
- range?: Range;
1247
-
1248
- /**
1249
- * An optional {@link Command} that is executed *after* inserting this completion.
1250
- */
1251
- command?: Command;
1252
-
1253
- /**
1254
- * Creates a new inline completion item.
1255
- *
1256
- * @param insertText The text to replace the range with.
1257
- * @param range The range to replace. If not set, the word at the requested position will be used.
1258
- * @param command An optional {@link Command} that is executed *after* inserting this completion.
1259
- */
1260
- constructor(insertText: string | SnippetString, range?: Range, command?: Command);
1261
- }
1262
-
1263
1205
  /**
1264
1206
  * A document link is a range in a text document that links to an internal or external resource, like another
1265
1207
  * text document or a web site.
@@ -2315,100 +2257,6 @@ declare module 'vscode' {
2315
2257
  resolveCompletionItem?(item: T, token: CancellationToken): ProviderResult<T>;
2316
2258
  }
2317
2259
 
2318
- /**
2319
- * The inline completion item provider interface defines the contract between extensions and
2320
- * the inline completion feature.
2321
- *
2322
- * Providers are asked for completions either explicitly by a user gesture or implicitly when typing.
2323
- */
2324
- export interface InlineCompletionItemProvider {
2325
-
2326
- /**
2327
- * Provides inline completion items for the given position and document.
2328
- * If inline completions are enabled, this method will be called whenever the user stopped typing.
2329
- * It will also be called when the user explicitly triggers inline completions or explicitly asks for the next or previous inline completion.
2330
- * In that case, all available inline completions should be returned.
2331
- * `context.triggerKind` can be used to distinguish between these scenarios.
2332
- *
2333
- * @param document The document inline completions are requested for.
2334
- * @param position The position inline completions are requested for.
2335
- * @param context A context object with additional information.
2336
- * @param token A cancellation token.
2337
- * @return An array of completion items or a thenable that resolves to an array of completion items.
2338
- */
2339
- provideInlineCompletionItems(document: TextDocument, position: Position, context: InlineCompletionContext, token: CancellationToken): ProviderResult<InlineCompletionItem[] | InlineCompletionList>;
2340
- }
2341
-
2342
- /**
2343
- * Represents a collection of {@link InlineCompletionItem inline completion items} to be presented
2344
- * in the editor.
2345
- */
2346
- export class InlineCompletionList {
2347
- /**
2348
- * The inline completion items.
2349
- */
2350
- items: InlineCompletionItem[];
2351
-
2352
- /**
2353
- * Creates a new list of inline completion items.
2354
- */
2355
- constructor(items: InlineCompletionItem[]);
2356
- }
2357
-
2358
- /**
2359
- * Provides information about the context in which an inline completion was requested.
2360
- */
2361
- export interface InlineCompletionContext {
2362
- /**
2363
- * Describes how the inline completion was triggered.
2364
- */
2365
- readonly triggerKind: InlineCompletionTriggerKind;
2366
-
2367
- /**
2368
- * Provides information about the currently selected item in the autocomplete widget if it is visible.
2369
- *
2370
- * If set, provided inline completions must extend the text of the selected item
2371
- * and use the same range, otherwise they are not shown as preview.
2372
- * As an example, if the document text is `console.` and the selected item is `.log` replacing the `.` in the document,
2373
- * the inline completion must also replace `.` and start with `.log`, for example `.log()`.
2374
- *
2375
- * Inline completion providers are requested again whenever the selected item changes.
2376
- */
2377
- readonly selectedCompletionInfo: SelectedCompletionInfo | undefined;
2378
- }
2379
-
2380
- /**
2381
- * Describes the currently selected completion item.
2382
- */
2383
- export interface SelectedCompletionInfo {
2384
- /**
2385
- * The range that will be replaced if this completion item is accepted.
2386
- */
2387
- readonly range: Range;
2388
-
2389
- /**
2390
- * The text the range will be replaced with if this completion is accepted.
2391
- */
2392
- readonly text: string;
2393
- }
2394
-
2395
- /**
2396
- * Describes how an {@link InlineCompletionItemProvider inline completion provider} was triggered.
2397
- */
2398
- export enum InlineCompletionTriggerKind {
2399
- /**
2400
- * Completion was triggered explicitly by a user gesture.
2401
- * Return multiple completion items to enable cycling through them.
2402
- */
2403
- Invoke = 0,
2404
-
2405
- /**
2406
- * Completion was triggered automatically while editing.
2407
- * It is sufficient to return a single completion item in this case.
2408
- */
2409
- Automatic = 1,
2410
- }
2411
-
2412
2260
  /**
2413
2261
  * Represents programming constructs like variables, classes, interfaces etc. that appear in a document. Document
2414
2262
  * symbols can be hierarchical and they have two ranges: one that encloses its definition and one that points to
@@ -603,132 +603,45 @@ declare module 'vscode' {
603
603
  }
604
604
 
605
605
  export enum InlayHintKind {
606
+ Other = 0,
606
607
  Type = 1,
607
608
  Parameter = 2,
608
609
  }
609
610
 
610
- /**
611
- * An inlay hint label part allows for interactive and composite labels of inlay hints.
612
- */
613
- export class InlayHintLabelPart {
614
-
615
- /**
616
- * The value of this label part.
617
- */
618
- value: string;
619
-
620
- /**
621
- * The tooltip text when you hover over this label part.
622
- *
623
- * *Note* that this property can be set late during
624
- * {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
625
- */
626
- tooltip?: string | MarkdownString | undefined;
627
-
628
- /**
629
- * An optional {@link Location source code location} that represents this label
630
- * part.
631
- *
632
- * The editor will use this location for the hover and for code navigation features: This
633
- * part will become a clickable link that resolves to the definition of the symbol at the
634
- * given location (not necessarily the location itself), it shows the hover that shows at
635
- * the given location, and it shows a context menu with further code navigation commands.
636
- *
637
- * *Note* that this property can be set late during
638
- * {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
639
- */
640
- location?: Location | undefined;
641
-
642
- /**
643
- * An optional command for this label part.
644
- *
645
- * The editor renders parts with commands as clickable links. The command is added to the context menu
646
- * when a label part defines {@link InlayHintLabelPart.location location} and {@link InlayHintLabelPart.command command} .
647
- *
648
- * *Note* that this property can be set late during
649
- * {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
650
- */
651
- command?: Command | undefined;
652
-
653
- /**
654
- * Creates a new inlay hint label part.
655
- *
656
- * @param value The value of the part.
657
- */
658
- constructor(value: string);
659
- }
660
-
661
611
  /**
662
612
  * Inlay hint information.
663
613
  */
664
- export class InlayHint {
665
-
666
- /**
667
- * The position of this hint.
668
- */
669
- position: Position;
670
-
671
- /**
672
- * The label of this hint. A human readable string or an array of {@link InlayHintLabelPart label parts}.
673
- *
674
- * *Note* that neither the string nor the label part can be empty.
675
- */
676
- label: string | InlayHintLabelPart[];
677
-
678
- /**
679
- * The tooltip text when you hover over this item.
680
- *
681
- * *Note* that this property can be set late during
682
- * {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
683
- */
684
- tooltip?: string | MarkdownString | undefined;
685
-
686
- /**
687
- * The kind of this hint. The inlay hint kind defines the appearance of this inlay hint.
688
- */
689
- kind?: InlayHintKind;
690
-
691
- /**
692
- * Optional {@link TextEdit text edits} that are performed when accepting this inlay hint. The default
693
- * gesture for accepting an inlay hint is the double click.
694
- *
695
- * *Note* that edits are expected to change the document so that the inlay hint (or its nearest variant) is
696
- * now part of the document and the inlay hint itself is now obsolete.
697
- *
698
- * *Note* that this property can be set late during
699
- * {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
700
- */
701
- textEdits?: TextEdit[];
702
-
703
- /**
704
- * Render padding before the hint. Padding will use the editor's background color,
705
- * not the background color of the hint itself. That means padding can be used to visually
706
- * align/separate an inlay hint.
707
- */
708
- paddingLeft?: boolean;
709
-
710
- /**
711
- * Render padding after the hint. Padding will use the editor's background color,
712
- * not the background color of the hint itself. That means padding can be used to visually
713
- * align/separate an inlay hint.
714
- */
715
- paddingRight?: boolean;
716
-
717
- /**
718
- * Creates a new inlay hint.
719
- *
720
- * @param position The position of the hint.
721
- * @param label The label of the hint.
722
- * @param kind The {@link InlayHintKind kind} of the hint.
723
- */
724
- constructor(position: Position, label: string | InlayHintLabelPart[], kind?: InlayHintKind);
725
- }
614
+ export class InlayHint {
615
+ /**
616
+ * The text of the hint.
617
+ */
618
+ text: string;
619
+ /**
620
+ * The position of this hint.
621
+ */
622
+ position: Position;
623
+ /**
624
+ * The kind of this hint.
625
+ */
626
+ kind?: InlayHintKind;
627
+ /**
628
+ * Whitespace before the hint.
629
+ */
630
+ whitespaceBefore?: boolean;
631
+ /**
632
+ * Whitespace after the hint.
633
+ */
634
+ whitespaceAfter?: boolean;
635
+
636
+ // todo@API make range first argument
637
+ constructor(text: string, position: Position, kind?: InlayHintKind);
638
+ }
726
639
 
727
640
  /**
728
641
  * The inlay hints provider interface defines the contract between extensions and
729
642
  * the inlay hints feature.
730
643
  */
731
- export interface InlayHintsProvider<T extends InlayHint = InlayHint> {
644
+ export interface InlayHintsProvider {
732
645
 
733
646
  /**
734
647
  * An optional event to signal that inlay hints have changed.
@@ -743,19 +656,7 @@ declare module 'vscode' {
743
656
  * @param token A cancellation token.
744
657
  * @return A list of inlay hints or a thenable that resolves to such.
745
658
  */
746
- provideInlayHints(model: TextDocument, range: Range, token: CancellationToken): ProviderResult<T[]>;
747
-
748
- /**
749
- * Given an inlay hint fill in {@link InlayHint.tooltip tooltip}, {@link InlayHint.textEdits text edits},
750
- * or complete label {@link InlayHintLabelPart parts}.
751
- *
752
- * *Note* that the editor will resolve an inlay hint at most once.
753
- *
754
- * @param hint An inlay hint.
755
- * @param token A cancellation token.
756
- * @return The resolved inlay hint or a thenable that resolves to such. It is OK to return the given `item`. When no result is returned, the given `item` will be used.
757
- */
758
- resolveInlayHint?(hint: T, token: CancellationToken): ProviderResult<T>;
659
+ provideInlayHints(model: TextDocument, range: Range, token: CancellationToken): ProviderResult<InlayHint[]>;
759
660
  }
760
661
  //#endregion
761
662
 
@@ -138,10 +138,7 @@ declare module 'vscode' {
138
138
  * CSS styling property that will be applied to text enclosed by a decoration.
139
139
  */
140
140
  textDecoration?: string;
141
- /**
142
- * @proposal
143
- */
144
- textUnderlinePosition?: string;
141
+
145
142
  /**
146
143
  * CSS styling property that will be applied to text enclosed by a decoration.
147
144
  */
@@ -498,11 +498,6 @@ declare module 'vscode' {
498
498
  */
499
499
  export interface FileWillCreateEvent {
500
500
 
501
- /**
502
- * A cancellation token.
503
- */
504
- readonly token: CancellationToken;
505
-
506
501
  /**
507
502
  * The files that are going to be created.
508
503
  */
@@ -557,10 +552,6 @@ declare module 'vscode' {
557
552
  * thenable that resolves to a [workspace edit](#WorkspaceEdit).
558
553
  */
559
554
  export interface FileWillDeleteEvent {
560
- /**
561
- * A cancellation token.
562
- */
563
- readonly token: CancellationToken;
564
555
 
565
556
  /**
566
557
  * The files that are going to be deleted.
@@ -616,10 +607,6 @@ declare module 'vscode' {
616
607
  * thenable that resolves to a [workspace edit](#WorkspaceEdit).
617
608
  */
618
609
  export interface FileWillRenameEvent {
619
- /**
620
- * A cancellation token.
621
- */
622
- readonly token: CancellationToken;
623
610
 
624
611
  /**
625
612
  * The files that are going to be renamed.