@theia/plugin 1.66.0-next.0 → 1.66.0-next.27

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.66.0-next.0+008c83404",
3
+ "version": "1.66.0-next.27+a9334fd8e",
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": "008c8340465f7e42298839881d814863bef0b039"
35
+ "gitHead": "a9334fd8e3fa0dfd9beccf1c2f0fe15c6c2c071d"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -48,6 +48,7 @@ import './theia.proposed.terminalQuickFixProvider';
48
48
  import './theia.proposed.textEditorDiffInformation';
49
49
  import './theia.proposed.textSearchProvider';
50
50
  import './theia.proposed.timeline';
51
+ import './theia.proposed.statusBarItemTooltip';
51
52
 
52
53
  /* eslint-disable @typescript-eslint/no-explicit-any */
53
54
  /* eslint-disable max-len */
@@ -0,0 +1,37 @@
1
+ // *****************************************************************************
2
+ // Copyright (C) 2025 EclipseSource GmbH and others.
3
+ //
4
+ // This program and the accompanying materials are made available under the
5
+ // terms of the Eclipse Public License v. 2.0 which is available at
6
+ // http://www.eclipse.org/legal/epl-2.0.
7
+ //
8
+ // This Source Code may also be made available under the following Secondary
9
+ // Licenses when the conditions for such availability set forth in the Eclipse
10
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ // with the GNU Classpath Exception which is available at
12
+ // https://www.gnu.org/software/classpath/license.html.
13
+ //
14
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+
17
+ /*---------------------------------------------------------------------------------------------
18
+ * Copyright (c) Microsoft Corporation. All rights reserved.
19
+ * Licensed under the MIT License. See License.txt in the project root for license information.
20
+ *--------------------------------------------------------------------------------------------*/
21
+
22
+ // Copied from https://github.com/microsoft/vscode/blob/85f2ce803d86e9fddeba10874fc2758a75b8e806/src/vscode-dts/vscode.proposed.statusBarItemTooltip.d.ts
23
+
24
+ declare module '@theia/plugin' {
25
+
26
+ // https://github.com/microsoft/vscode/issues/234339
27
+
28
+ export interface StatusBarItem {
29
+
30
+ /**
31
+ * The tooltip text when you hover over this entry.
32
+ *
33
+ * Can optionally return the tooltip in a thenable if the computation is expensive.
34
+ */
35
+ tooltip2: string | MarkdownString | undefined | ((token: CancellationToken) => ProviderResult<string | MarkdownString | undefined>);
36
+ }
37
+ }