@theia/plugin 1.44.0 → 1.45.1
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 +31 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.45.1",
|
|
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.45.1"
|
|
31
31
|
},
|
|
32
32
|
"nyc": {
|
|
33
33
|
"extends": "../../configs/nyc.json"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "3837c50544190b80d0ad8e87aa9fa9f286c70fcc"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -16448,6 +16448,37 @@ export module '@theia/plugin' {
|
|
|
16448
16448
|
*/
|
|
16449
16449
|
location?: Location;
|
|
16450
16450
|
|
|
16451
|
+
/**
|
|
16452
|
+
* Context value of the test item. This can be used to contribute message-
|
|
16453
|
+
* specific actions to the test peek view. The value set here can be found
|
|
16454
|
+
* in the `testMessage` property of the following `menus` contribution points:
|
|
16455
|
+
*
|
|
16456
|
+
* - `testing/message/context` - context menu for the message in the results tree
|
|
16457
|
+
* - `testing/message/content` - a prominent button overlaying editor content where
|
|
16458
|
+
* the message is displayed.
|
|
16459
|
+
*
|
|
16460
|
+
* For example:
|
|
16461
|
+
*
|
|
16462
|
+
* ```json
|
|
16463
|
+
* "contributes": {
|
|
16464
|
+
* "menus": {
|
|
16465
|
+
* "testing/message/content": [
|
|
16466
|
+
* {
|
|
16467
|
+
* "command": "extension.deleteCommentThread",
|
|
16468
|
+
* "when": "testMessage == canApplyRichDiff"
|
|
16469
|
+
* }
|
|
16470
|
+
* ]
|
|
16471
|
+
* }
|
|
16472
|
+
* }
|
|
16473
|
+
* ```
|
|
16474
|
+
*
|
|
16475
|
+
* The command will be called with an object containing:
|
|
16476
|
+
* - `test`: the {@link TestItem} the message is associated with, *if* it
|
|
16477
|
+
* is still present in the {@link TestController.items} collection.
|
|
16478
|
+
* - `message`: the {@link TestMessage} instance.
|
|
16479
|
+
*/
|
|
16480
|
+
contextValue?: string;
|
|
16481
|
+
|
|
16451
16482
|
/**
|
|
16452
16483
|
* Creates a new TestMessage that will present as a diff in the editor.
|
|
16453
16484
|
* @param message Message to display to the user.
|