@theia/plugin 1.24.0-next.50 → 1.24.0-next.53

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/theia.d.ts +18 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.24.0-next.50+4ade5924584",
3
+ "version": "1.24.0-next.53+a8b8bbec4b4",
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": "4ade592458449ff262bce696a80a07e32a444d3d"
35
+ "gitHead": "a8b8bbec4b44c1084c132ecdb2fceb210feaa847"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -2549,6 +2549,13 @@ export module '@theia/plugin' {
2549
2549
  */
2550
2550
  appendLine(value: string): void;
2551
2551
 
2552
+ /**
2553
+ * Replaces all output from the channel with the given value.
2554
+ *
2555
+ * @param value A string, falsy values will not be printed.
2556
+ */
2557
+ replace(value: string): void;
2558
+
2552
2559
  /**
2553
2560
  * Removes all output from the channel.
2554
2561
  */
@@ -10460,6 +10467,13 @@ export module '@theia/plugin' {
10460
10467
  */
10461
10468
  source?: string;
10462
10469
 
10470
+ /**
10471
+ * A human-readable string which is rendered less prominently on a separate line in places
10472
+ * where the task's name is displayed. Supports rendering of {@link ThemeIcon theme icons}
10473
+ * via the `$(<name>)`-syntax.
10474
+ */
10475
+ detail?: string;
10476
+
10463
10477
  /**
10464
10478
  * The task group this tasks belongs to. See TaskGroup
10465
10479
  * for a predefined set of available groups.
@@ -10478,9 +10492,10 @@ export module '@theia/plugin' {
10478
10492
  problemMatchers?: string[];
10479
10493
  }
10480
10494
 
10481
- export class Task2 extends Task {
10482
- detail?: string;
10483
- }
10495
+ /**
10496
+ * Task2 is kept for compatibility reasons.
10497
+ */
10498
+ export class Task2 extends Task { }
10484
10499
 
10485
10500
  export interface TaskProvider<T extends Task = Task> {
10486
10501
  /**