@theia/plugin 1.25.0-next.2 → 1.25.0-next.3
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 +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.25.0-next.
|
|
3
|
+
"version": "1.25.0-next.3+3893fdec2fc",
|
|
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": "3893fdec2fc07766da986e12b62457a897b3b64e"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -496,6 +496,17 @@ export module '@theia/plugin' {
|
|
|
496
496
|
*/
|
|
497
497
|
appendPlaceholder(value: string | ((snippet: SnippetString) => any), number?: number): SnippetString;
|
|
498
498
|
|
|
499
|
+
/**
|
|
500
|
+
* Builder-function that appends a choice (`${1|a,b,c|}`) to
|
|
501
|
+
* the {@linkcode SnippetString.value value} of this snippet string.
|
|
502
|
+
*
|
|
503
|
+
* @param values The values for choices - the array of strings
|
|
504
|
+
* @param number The number of this tabstop, defaults to an auto-increment
|
|
505
|
+
* value starting at 1.
|
|
506
|
+
* @return This snippet string.
|
|
507
|
+
*/
|
|
508
|
+
appendChoice(values: string[], number?: number): SnippetString;
|
|
509
|
+
|
|
499
510
|
/**
|
|
500
511
|
* Builder-function that appends a variable (`${VAR}`) to
|
|
501
512
|
* the [`value`](#SnippetString.value) of this snippet string.
|