@theia/plugin 1.53.0-next.55 → 1.53.0-next.64

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 (28) hide show
  1. package/README.md +766 -766
  2. package/package.json +2 -2
  3. package/src/package.spec.ts +28 -28
  4. package/src/theia-extra.d.ts +410 -410
  5. package/src/theia.d.ts +18078 -18078
  6. package/src/theia.proposed.canonicalUriProvider.d.ts +64 -64
  7. package/src/theia.proposed.customEditorMove.d.ts +41 -41
  8. package/src/theia.proposed.debugVisualization.d.ts +189 -189
  9. package/src/theia.proposed.diffCommand.d.ts +55 -55
  10. package/src/theia.proposed.documentPaste.d.ts +316 -316
  11. package/src/theia.proposed.editSessionIdentityProvider.d.ts +89 -89
  12. package/src/theia.proposed.extensionsAny.d.ts +57 -57
  13. package/src/theia.proposed.externalUriOpener.d.ts +158 -158
  14. package/src/theia.proposed.findTextInFiles.d.ts +178 -178
  15. package/src/theia.proposed.fsChunks.d.ts +32 -32
  16. package/src/theia.proposed.mappedEditsProvider.d.ts +59 -59
  17. package/src/theia.proposed.multiDocumentHighlightProvider.ts +82 -82
  18. package/src/theia.proposed.notebookCellExecutionState.d.ts +68 -68
  19. package/src/theia.proposed.notebookKernelSource.d.ts +62 -62
  20. package/src/theia.proposed.notebookMessaging.d.ts +84 -84
  21. package/src/theia.proposed.portsAttributes.d.ts +115 -115
  22. package/src/theia.proposed.profileContentHandlers.d.ts +35 -35
  23. package/src/theia.proposed.resolvers.d.ts +44 -44
  24. package/src/theia.proposed.scmValidation.d.ts +70 -70
  25. package/src/theia.proposed.shareProvider.d.ts +92 -92
  26. package/src/theia.proposed.terminalQuickFixProvider.d.ts +103 -103
  27. package/src/theia.proposed.textSearchProvider.d.ts +145 -145
  28. package/src/theia.proposed.timeline.d.ts +177 -177
@@ -1,55 +1,55 @@
1
- // *****************************************************************************
2
- // Copyright (C) 2023 Ericsson 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
- // code copied and modified from https://github.com/microsoft/vscode/blob/1.77.0/src/vscode-dts/vscode.proposed.diffCommand.d.ts
22
-
23
- export module '@theia/plugin' {
24
-
25
- /**
26
- * The contiguous set of modified lines in a diff.
27
- */
28
- export interface LineChange {
29
- readonly originalStartLineNumber: number;
30
- readonly originalEndLineNumber: number;
31
- readonly modifiedStartLineNumber: number;
32
- readonly modifiedEndLineNumber: number;
33
- }
34
-
35
- export namespace commands {
36
-
37
- /**
38
- * Registers a diff information command that can be invoked via a keyboard shortcut,
39
- * a menu item, an action, or directly.
40
- *
41
- * Diff information commands are different from ordinary {@link commands.registerCommand commands} as
42
- * they only execute when there is an active diff editor when the command is called, and the diff
43
- * information has been computed. Also, the command handler of an editor command has access to
44
- * the diff information.
45
- *
46
- * @param command A unique identifier for the command.
47
- * @param callback A command handler function with access to the {@link LineChange diff information}.
48
- * @param thisArg The `this` context used when invoking the handler function.
49
- * @return Disposable which unregisters this command on disposal.
50
- */
51
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
52
- export function registerDiffInformationCommand(command: string, callback: (diff: LineChange[], ...args: any[]) => any, thisArg?: any): Disposable;
53
- }
54
-
55
- }
1
+ // *****************************************************************************
2
+ // Copyright (C) 2023 Ericsson 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
+ // code copied and modified from https://github.com/microsoft/vscode/blob/1.77.0/src/vscode-dts/vscode.proposed.diffCommand.d.ts
22
+
23
+ export module '@theia/plugin' {
24
+
25
+ /**
26
+ * The contiguous set of modified lines in a diff.
27
+ */
28
+ export interface LineChange {
29
+ readonly originalStartLineNumber: number;
30
+ readonly originalEndLineNumber: number;
31
+ readonly modifiedStartLineNumber: number;
32
+ readonly modifiedEndLineNumber: number;
33
+ }
34
+
35
+ export namespace commands {
36
+
37
+ /**
38
+ * Registers a diff information command that can be invoked via a keyboard shortcut,
39
+ * a menu item, an action, or directly.
40
+ *
41
+ * Diff information commands are different from ordinary {@link commands.registerCommand commands} as
42
+ * they only execute when there is an active diff editor when the command is called, and the diff
43
+ * information has been computed. Also, the command handler of an editor command has access to
44
+ * the diff information.
45
+ *
46
+ * @param command A unique identifier for the command.
47
+ * @param callback A command handler function with access to the {@link LineChange diff information}.
48
+ * @param thisArg The `this` context used when invoking the handler function.
49
+ * @return Disposable which unregisters this command on disposal.
50
+ */
51
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
52
+ export function registerDiffInformationCommand(command: string, callback: (diff: LineChange[], ...args: any[]) => any, thisArg?: any): Disposable;
53
+ }
54
+
55
+ }