@theia/plugin 1.47.1 → 1.48.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-extra.d.ts +20 -0
- package/src/theia.d.ts +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.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.48.0"
|
|
31
31
|
},
|
|
32
32
|
"nyc": {
|
|
33
33
|
"extends": "../../configs/nyc.json"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "ffae6a0739f7924a7cacafeb5ceb1140d93fe010"
|
|
36
36
|
}
|
package/src/theia-extra.d.ts
CHANGED
|
@@ -363,6 +363,26 @@ export module '@theia/plugin' {
|
|
|
363
363
|
color?: ThemeColor;
|
|
364
364
|
}
|
|
365
365
|
|
|
366
|
+
export interface TerminalObserver {
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* A regex to match against the latest terminal output.
|
|
370
|
+
*/
|
|
371
|
+
readonly outputMatcherRegex: string;
|
|
372
|
+
/**
|
|
373
|
+
* The maximum number of lines to match the regex against. Maximum is 40 lines.
|
|
374
|
+
*/
|
|
375
|
+
readonly nrOfLinesToMatch: number;
|
|
376
|
+
/**
|
|
377
|
+
* Invoked when the regex matched against the terminal contents.
|
|
378
|
+
* @param groups The matched groups
|
|
379
|
+
*/
|
|
380
|
+
matchOccurred(groups: string[]): void;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export namespace window {
|
|
384
|
+
export function registerTerminalObserver(observer: TerminalObserver): Disposable;
|
|
385
|
+
}
|
|
366
386
|
}
|
|
367
387
|
|
|
368
388
|
/**
|
package/src/theia.d.ts
CHANGED
|
@@ -1897,7 +1897,11 @@ export module '@theia/plugin' {
|
|
|
1897
1897
|
/**
|
|
1898
1898
|
* Render the line numbers with values relative to the primary cursor location.
|
|
1899
1899
|
*/
|
|
1900
|
-
Relative = 2
|
|
1900
|
+
Relative = 2,
|
|
1901
|
+
/**
|
|
1902
|
+
* Render the line numbers on every 10th line number.
|
|
1903
|
+
*/
|
|
1904
|
+
Interval = 3
|
|
1901
1905
|
}
|
|
1902
1906
|
|
|
1903
1907
|
/**
|