@theia/plugin 1.22.0-next.8 → 1.23.0-next.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 +21 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0-next.0+edeee9cfae1",
|
|
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.22.1"
|
|
31
31
|
},
|
|
32
32
|
"nyc": {
|
|
33
33
|
"extends": "../../configs/nyc.json"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "edeee9cfae17e46a0c244b5e7b63de479e3d8031"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -3195,6 +3195,19 @@ export module '@theia/plugin' {
|
|
|
3195
3195
|
* other extensions in the host run in `ExtensionMode.Release`.
|
|
3196
3196
|
*/
|
|
3197
3197
|
readonly extensionMode: ExtensionMode;
|
|
3198
|
+
|
|
3199
|
+
/**
|
|
3200
|
+
* The current extension instance.
|
|
3201
|
+
*/
|
|
3202
|
+
readonly extension: Plugin<any> | undefined;
|
|
3203
|
+
|
|
3204
|
+
/**
|
|
3205
|
+
* The uri of a directory in which the extension can create log files. The directory might
|
|
3206
|
+
* not exist on disk and creation is up to the extension. However, the parent directory is
|
|
3207
|
+
* guaranteed to be existent.
|
|
3208
|
+
* see - workspace.fs for how to read and write files and folders from an uri.
|
|
3209
|
+
*/
|
|
3210
|
+
readonly logUri: Uri;
|
|
3198
3211
|
}
|
|
3199
3212
|
|
|
3200
3213
|
/**
|
|
@@ -9758,9 +9771,16 @@ export module '@theia/plugin' {
|
|
|
9758
9771
|
* Folder specific variables used in the configuration (e.g. '${workspaceFolder}') are resolved against the given folder.
|
|
9759
9772
|
* @param folder The [workspace folder](#WorkspaceFolder) for looking up named configurations and resolving variables or `undefined` for a non-folder setup.
|
|
9760
9773
|
* @param nameOrConfiguration Either the name of a debug or compound configuration or a [DebugConfiguration](#DebugConfiguration) object.
|
|
9774
|
+
* @param parentSessionOrOptions Debug session options. When passed a parent debug session, assumes options with just this parent session.
|
|
9761
9775
|
* @return A thenable that resolves when debugging could be successfully started.
|
|
9762
9776
|
*/
|
|
9763
|
-
export function startDebugging(folder: WorkspaceFolder | undefined, nameOrConfiguration: string | DebugConfiguration,
|
|
9777
|
+
export function startDebugging(folder: WorkspaceFolder | undefined, nameOrConfiguration: string | DebugConfiguration, parentSessionOrOptions?: DebugSession | DebugSessionOptions): PromiseLike<boolean>;
|
|
9778
|
+
|
|
9779
|
+
/**
|
|
9780
|
+
* Stop the given debug session or stop all debug sessions if session is omitted.
|
|
9781
|
+
* @param session The [debug session](#DebugSession) to stop; if omitted all sessions are stopped.
|
|
9782
|
+
*/
|
|
9783
|
+
export function stopDebugging(session?: DebugSession): PromiseLike<void>;
|
|
9764
9784
|
|
|
9765
9785
|
/**
|
|
9766
9786
|
* Add breakpoints.
|