@theia/plugin 1.41.0 → 1.42.0
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 +3 -3
- package/src/theia.d.ts +24 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.42.0",
|
|
4
4
|
"description": "Theia - Plugin API",
|
|
5
5
|
"types": "./src/theia.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"watch": "theiaext watch"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@theia/ext-scripts": "1.
|
|
30
|
+
"@theia/ext-scripts": "1.42.0"
|
|
31
31
|
},
|
|
32
32
|
"nyc": {
|
|
33
33
|
"extends": "../../configs/nyc.json"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "caf9429694cfefd1881c5559a82611b8860c5885"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -2140,6 +2140,11 @@ export module '@theia/plugin' {
|
|
|
2140
2140
|
*/
|
|
2141
2141
|
kind?: QuickPickItemKind;
|
|
2142
2142
|
|
|
2143
|
+
/**
|
|
2144
|
+
* The icon path or {@link ThemeIcon} for the QuickPickItem.
|
|
2145
|
+
*/
|
|
2146
|
+
iconPath?: Uri | { light: Uri; dark: Uri } | ThemeIcon;
|
|
2147
|
+
|
|
2143
2148
|
/**
|
|
2144
2149
|
* A human-readable string which is rendered less prominent in the same line. Supports rendering of
|
|
2145
2150
|
* {@link ThemeIcon theme icons} via the `$(<name>)`-syntax.
|
|
@@ -15980,6 +15985,25 @@ export module '@theia/plugin' {
|
|
|
15980
15985
|
*/
|
|
15981
15986
|
createTestItem(id: string, label: string, uri?: Uri): TestItem;
|
|
15982
15987
|
|
|
15988
|
+
/**
|
|
15989
|
+
* Marks an item's results as being outdated. This is commonly called when
|
|
15990
|
+
* code or configuration changes and previous results should no longer
|
|
15991
|
+
* be considered relevant. The same logic used to mark results as outdated
|
|
15992
|
+
* may be used to drive {@link TestRunRequest.continuous continuous test runs}.
|
|
15993
|
+
*
|
|
15994
|
+
* If an item is passed to this method, test results for the item and all of
|
|
15995
|
+
* its children will be marked as outdated. If no item is passed, then all
|
|
15996
|
+
* test owned by the TestController will be marked as outdated.
|
|
15997
|
+
*
|
|
15998
|
+
* Any test runs started before the moment this method is called, including
|
|
15999
|
+
* runs which may still be ongoing, will be marked as outdated and deprioritized
|
|
16000
|
+
* in the editor's UI.
|
|
16001
|
+
*
|
|
16002
|
+
* @param item Item to mark as outdated. If undefined, all the controller's items are marked outdated.
|
|
16003
|
+
* @stubbed
|
|
16004
|
+
*/
|
|
16005
|
+
invalidateTestResults(items?: TestItem | readonly TestItem[]): void;
|
|
16006
|
+
|
|
15983
16007
|
/**
|
|
15984
16008
|
* Unregisters the test controller, disposing of its associated tests
|
|
15985
16009
|
* and unpersisted results.
|