@theia/plugin 1.28.0-next.3 → 1.28.0-next.30

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 +57 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.28.0-next.3+70350c13127",
3
+ "version": "1.28.0-next.30+0e52a3cd1d7",
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": "70350c1312798a7d190fbd45c596d10e48a3c869"
35
+ "gitHead": "0e52a3cd1d744a021afb2a42724cf95f9f20b454"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -2300,6 +2300,11 @@ export module '@theia/plugin' {
2300
2300
  * Options for configuration behavior of the quick pick
2301
2301
  */
2302
2302
  export interface QuickPickOptions {
2303
+ /**
2304
+ * An optional string that represents the title of the quick pick.
2305
+ */
2306
+ title?: string;
2307
+
2303
2308
  /**
2304
2309
  * A flag to include the description when filtering
2305
2310
  */
@@ -2932,6 +2937,13 @@ export module '@theia/plugin' {
2932
2937
  */
2933
2938
  env?: { [key: string]: string | null };
2934
2939
 
2940
+ /**
2941
+ * A message to write to the terminal on first launch. Note that this is not sent to the
2942
+ * process, but rather written directly to the terminal. This supports escape sequences such
2943
+ * as setting text style.
2944
+ */
2945
+ message?: string;
2946
+
2935
2947
  /**
2936
2948
  * Terminal attributes. Can be useful to apply some implementation specific information.
2937
2949
  */
@@ -6882,6 +6894,13 @@ export module '@theia/plugin' {
6882
6894
  */
6883
6895
  parameters: ParameterInformation[];
6884
6896
 
6897
+ /**
6898
+ * The index of the active parameter.
6899
+ *
6900
+ * If provided, this is used in place of SignatureHelp.activeParameter.
6901
+ */
6902
+ activeParameter?: number;
6903
+
6885
6904
  /**
6886
6905
  * Creates a new signature information object.
6887
6906
  *
@@ -9602,6 +9621,11 @@ export module '@theia/plugin' {
9602
9621
  * A string to show as place holder in the input box to guide the user.
9603
9622
  */
9604
9623
  placeholder: string;
9624
+
9625
+ /**
9626
+ * Controls whether the input box is visible (default is true).
9627
+ */
9628
+ visible: boolean;
9605
9629
  }
9606
9630
 
9607
9631
  interface QuickDiffProvider {
@@ -9844,6 +9868,20 @@ export module '@theia/plugin' {
9844
9868
  // Properties: see details [here](https://microsoft.github.io/debug-adapter-protocol/specification#Base_Protocol_ProtocolMessage).
9845
9869
  }
9846
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
+
9847
9885
  /**
9848
9886
  * Configuration for a debug session.
9849
9887
  */
@@ -9903,6 +9941,15 @@ export module '@theia/plugin' {
9903
9941
  * Send a custom request to the debug adapter.
9904
9942
  */
9905
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>
9906
9953
  }
9907
9954
 
9908
9955
  /**
@@ -10378,6 +10425,16 @@ export module '@theia/plugin' {
10378
10425
  */
10379
10426
  export function registerDebugAdapterDescriptorFactory(debugType: string, factory: DebugAdapterDescriptorFactory): Disposable;
10380
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
+
10381
10438
  /**
10382
10439
  * Register a {@link DebugConfigurationProvider debug configuration provider} for a specific debug type.
10383
10440
  * The optional {@link DebugConfigurationProviderTriggerKind triggerKind} can be used to specify when the `provideDebugConfigurations` method of the provider is triggered.