@theia/plugin 1.32.0-next.2 → 1.32.0-next.20
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 +34 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.32.0-next.
|
|
3
|
+
"version": "1.32.0-next.20+6b14f040f",
|
|
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": "6b14f040f82f0e99de711978ae1cfdc38f288756"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -5108,6 +5108,18 @@ export module '@theia/plugin' {
|
|
|
5108
5108
|
*/
|
|
5109
5109
|
export function registerUriHandler(handler: UriHandler): Disposable;
|
|
5110
5110
|
|
|
5111
|
+
/**
|
|
5112
|
+
* Show progress in the Source Control viewlet while running the given callback and while
|
|
5113
|
+
* its returned promise isn't resolve or rejected.
|
|
5114
|
+
*
|
|
5115
|
+
* @deprecated Use `withProgress` instead.
|
|
5116
|
+
*
|
|
5117
|
+
* @param task A callback returning a promise. Progress increments can be reported with
|
|
5118
|
+
* the provided {@link Progress}-object.
|
|
5119
|
+
* @return The thenable the task did return.
|
|
5120
|
+
*/
|
|
5121
|
+
export function withScmProgress<R>(task: (progress: Progress<number>) => Thenable<R>): Thenable<R>;
|
|
5122
|
+
|
|
5111
5123
|
/**
|
|
5112
5124
|
* Show progress in the editor. Progress is shown while running the given callback
|
|
5113
5125
|
* and while the promise it returned isn't resolved nor rejected. The location at which
|
|
@@ -10688,6 +10700,13 @@ export module '@theia/plugin' {
|
|
|
10688
10700
|
*/
|
|
10689
10701
|
parentSession?: DebugSession;
|
|
10690
10702
|
|
|
10703
|
+
/**
|
|
10704
|
+
* Controls whether lifecycle requests like 'restart' are sent to the newly created session or its parent session.
|
|
10705
|
+
* By default (if the property is false or missing), lifecycle requests are sent to the new session.
|
|
10706
|
+
* This property is ignored if the session has no parent session.
|
|
10707
|
+
*/
|
|
10708
|
+
lifecycleManagedByParent?: boolean;
|
|
10709
|
+
|
|
10691
10710
|
/**
|
|
10692
10711
|
* Controls whether this session should have a separate debug console or share it
|
|
10693
10712
|
* with the parent session. Has no effect for sessions which do not have a parent session.
|
|
@@ -11532,6 +11551,16 @@ export module '@theia/plugin' {
|
|
|
11532
11551
|
clear?: boolean;
|
|
11533
11552
|
}
|
|
11534
11553
|
|
|
11554
|
+
/**
|
|
11555
|
+
* Run options for a task.
|
|
11556
|
+
*/
|
|
11557
|
+
export interface RunOptions {
|
|
11558
|
+
/**
|
|
11559
|
+
* Controls whether task variables are re-evaluated on rerun.
|
|
11560
|
+
*/
|
|
11561
|
+
reevaluateOnRerun?: boolean;
|
|
11562
|
+
}
|
|
11563
|
+
|
|
11535
11564
|
export class Task {
|
|
11536
11565
|
|
|
11537
11566
|
/**
|
|
@@ -11618,6 +11647,11 @@ export module '@theia/plugin' {
|
|
|
11618
11647
|
* array.
|
|
11619
11648
|
*/
|
|
11620
11649
|
problemMatchers?: string[];
|
|
11650
|
+
|
|
11651
|
+
/**
|
|
11652
|
+
* Run options for the task
|
|
11653
|
+
*/
|
|
11654
|
+
runOptions: RunOptions;
|
|
11621
11655
|
}
|
|
11622
11656
|
|
|
11623
11657
|
/**
|