@theia/plugin 1.24.0-next.58 → 1.24.0-next.59
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/package.json +2 -2
- package/src/theia.d.ts +27 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.24.0-next.
|
|
3
|
+
"version": "1.24.0-next.59+b206c6dc0c6",
|
|
4
4
|
"description": "Theia - Plugin API",
|
|
5
5
|
"types": "./src/theia.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"nyc": {
|
|
33
33
|
"extends": "../../configs/nyc.json"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "b206c6dc0c6bb400df2b71348dab948be3a4ed8a"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -7333,6 +7333,31 @@ export module '@theia/plugin' {
|
|
|
7333
7333
|
Deprecated = 1
|
|
7334
7334
|
}
|
|
7335
7335
|
|
|
7336
|
+
/**
|
|
7337
|
+
* A structured label for a {@link CompletionItem completion item}.
|
|
7338
|
+
*/
|
|
7339
|
+
export interface CompletionItemLabel {
|
|
7340
|
+
|
|
7341
|
+
/**
|
|
7342
|
+
* The label of this completion item.
|
|
7343
|
+
*
|
|
7344
|
+
* By default this is also the text that is inserted when this completion is selected.
|
|
7345
|
+
*/
|
|
7346
|
+
label: string;
|
|
7347
|
+
|
|
7348
|
+
/**
|
|
7349
|
+
* An optional string which is rendered less prominently directly after {@link CompletionItemLabel.label label},
|
|
7350
|
+
* without any spacing. Should be used for function signatures or type annotations.
|
|
7351
|
+
*/
|
|
7352
|
+
detail?: string;
|
|
7353
|
+
|
|
7354
|
+
/**
|
|
7355
|
+
* An optional string which is rendered less prominently after {@link CompletionItemLabel.detail}. Should be used
|
|
7356
|
+
* for fully qualified names or file path.
|
|
7357
|
+
*/
|
|
7358
|
+
description?: string;
|
|
7359
|
+
}
|
|
7360
|
+
|
|
7336
7361
|
/**
|
|
7337
7362
|
* A completion item represents a text snippet that is proposed to complete text that is being typed.
|
|
7338
7363
|
*
|
|
@@ -7355,7 +7380,7 @@ export module '@theia/plugin' {
|
|
|
7355
7380
|
* this is also the text that is inserted when selecting
|
|
7356
7381
|
* this completion.
|
|
7357
7382
|
*/
|
|
7358
|
-
label: string;
|
|
7383
|
+
label: string | CompletionItemLabel;
|
|
7359
7384
|
|
|
7360
7385
|
/**
|
|
7361
7386
|
* The kind of this completion item. Based on the kind
|
|
@@ -7474,7 +7499,7 @@ export module '@theia/plugin' {
|
|
|
7474
7499
|
* @param label The label of the completion.
|
|
7475
7500
|
* @param kind The [kind](#CompletionItemKind) of the completion.
|
|
7476
7501
|
*/
|
|
7477
|
-
constructor(label: string, kind?: CompletionItemKind);
|
|
7502
|
+
constructor(label: string | CompletionItemLabel, kind?: CompletionItemKind);
|
|
7478
7503
|
}
|
|
7479
7504
|
|
|
7480
7505
|
/**
|