@theia/plugin 1.27.0-next.18 → 1.27.0-next.23
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 +20 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.27.0-next.
|
|
3
|
+
"version": "1.27.0-next.23+039811643e5",
|
|
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": "039811643e59d31447c303fb69c05fdf4774698a"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -2652,7 +2652,22 @@ export module '@theia/plugin' {
|
|
|
2652
2652
|
*/
|
|
2653
2653
|
static readonly Folder: ThemeIcon;
|
|
2654
2654
|
|
|
2655
|
-
|
|
2655
|
+
/**
|
|
2656
|
+
* The id of the icon. The available icons are listed in https://code.visualstudio.com/api/references/icons-in-labels#icon-listing.
|
|
2657
|
+
*/
|
|
2658
|
+
readonly id: string;
|
|
2659
|
+
|
|
2660
|
+
/**
|
|
2661
|
+
* The optional ThemeColor of the icon. The color is currently only used in {@link TreeItem}.
|
|
2662
|
+
*/
|
|
2663
|
+
readonly color?: ThemeColor | undefined;
|
|
2664
|
+
|
|
2665
|
+
/**
|
|
2666
|
+
* Creates a reference to a theme icon.
|
|
2667
|
+
* @param id id of the icon. The available icons are listed in https://code.visualstudio.com/api/references/icons-in-labels#icon-listing.
|
|
2668
|
+
* @param color optional `ThemeColor` for the icon. The color is currently only used in {@link TreeItem}.
|
|
2669
|
+
*/
|
|
2670
|
+
private constructor(public id: string, public color?: ThemeColor);
|
|
2656
2671
|
}
|
|
2657
2672
|
|
|
2658
2673
|
/**
|
|
@@ -6709,6 +6724,10 @@ export module '@theia/plugin' {
|
|
|
6709
6724
|
* This rule will only execute if the text after the cursor matches this regular expression.
|
|
6710
6725
|
*/
|
|
6711
6726
|
afterText?: RegExp;
|
|
6727
|
+
/**
|
|
6728
|
+
* This rule will only execute if the text above the current line matches this regular expression.
|
|
6729
|
+
*/
|
|
6730
|
+
previousLineText?: RegExp;
|
|
6712
6731
|
/**
|
|
6713
6732
|
* The action to execute.
|
|
6714
6733
|
*/
|