@theia/plugin 1.28.0-next.26 → 1.28.0-next.29
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 +33 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.28.0-next.
|
|
3
|
+
"version": "1.28.0-next.29+6aa0d78a5c9",
|
|
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": "6aa0d78a5c977bf44cdde1275d7f58fe08b0eef3"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -9868,6 +9868,20 @@ export module '@theia/plugin' {
|
|
|
9868
9868
|
// Properties: see details [here](https://microsoft.github.io/debug-adapter-protocol/specification#Base_Protocol_ProtocolMessage).
|
|
9869
9869
|
}
|
|
9870
9870
|
|
|
9871
|
+
/**
|
|
9872
|
+
* A DebugProtocolBreakpoint is an opaque stand-in type for the [Breakpoint](https://microsoft.github.io/debug-adapter-protocol/specification#Types_Breakpoint) type defined in the Debug Adapter Protocol.
|
|
9873
|
+
*/
|
|
9874
|
+
export interface DebugProtocolBreakpoint {
|
|
9875
|
+
// Properties: see details [here](https://microsoft.github.io/debug-adapter-protocol/specification#Types_Breakpoint)
|
|
9876
|
+
}
|
|
9877
|
+
|
|
9878
|
+
/**
|
|
9879
|
+
* A DebugProtocolSource is an opaque stand-in type for the [Source](https://microsoft.github.io/debug-adapter-protocol/specification#Types_Source) type defined in the Debug Adapter Protocol.
|
|
9880
|
+
*/
|
|
9881
|
+
export interface DebugProtocolSource {
|
|
9882
|
+
// Properties: see details [here](https://microsoft.github.io/debug-adapter-protocol/specification#Types_Source)
|
|
9883
|
+
}
|
|
9884
|
+
|
|
9871
9885
|
/**
|
|
9872
9886
|
* Configuration for a debug session.
|
|
9873
9887
|
*/
|
|
@@ -9927,6 +9941,15 @@ export module '@theia/plugin' {
|
|
|
9927
9941
|
* Send a custom request to the debug adapter.
|
|
9928
9942
|
*/
|
|
9929
9943
|
customRequest(command: string, args?: any): Thenable<any>;
|
|
9944
|
+
|
|
9945
|
+
/**
|
|
9946
|
+
* Maps a breakpoint in the editor to the corresponding Debug Adapter Protocol (DAP) breakpoint that
|
|
9947
|
+
* is managed by the debug adapter of the debug session. If no DAP breakpoint exists (either because
|
|
9948
|
+
* the editor breakpoint was not yet registered or because the debug adapter is not interested in the
|
|
9949
|
+
* breakpoint), the value undefined is returned.
|
|
9950
|
+
* @param breakpoint a Breakpoint in the editor.
|
|
9951
|
+
*/
|
|
9952
|
+
getDebugProtocolBreakpoint(breakpoint: Breakpoint): PromiseLike<DebugProtocolBreakpoint | undefined>
|
|
9930
9953
|
}
|
|
9931
9954
|
|
|
9932
9955
|
/**
|
|
@@ -10402,6 +10425,16 @@ export module '@theia/plugin' {
|
|
|
10402
10425
|
*/
|
|
10403
10426
|
export function registerDebugAdapterDescriptorFactory(debugType: string, factory: DebugAdapterDescriptorFactory): Disposable;
|
|
10404
10427
|
|
|
10428
|
+
/**
|
|
10429
|
+
* Converts a "Source" descriptor object received via the Debug Adapter Protocol into a Uri that can be used to load its contents.
|
|
10430
|
+
* If the source descriptor is based on a path, a file Uri is returned. If the source descriptor uses a reference number, a
|
|
10431
|
+
* specific debug Uri (scheme 'debug') is constructed that requires a corresponding ContentProvider and a running debug session
|
|
10432
|
+
* If the "Source" descriptor has insufficient information for creating the Uri, an error is thrown.
|
|
10433
|
+
* @param source An object conforming to the Source type defined in the Debug Adapter Protocol.
|
|
10434
|
+
* @param session An optional debug session that will be used when the source descriptor uses a reference number to load the contents from an active debug session.
|
|
10435
|
+
*/
|
|
10436
|
+
export function asDebugSourceUri(source: DebugProtocolSource, session?: DebugSession): Uri;
|
|
10437
|
+
|
|
10405
10438
|
/**
|
|
10406
10439
|
* Register a {@link DebugConfigurationProvider debug configuration provider} for a specific debug type.
|
|
10407
10440
|
* The optional {@link DebugConfigurationProviderTriggerKind triggerKind} can be used to specify when the `provideDebugConfigurations` method of the provider is triggered.
|