@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.
- package/README.md +766 -766
- package/package.json +2 -2
- package/src/package.spec.ts +28 -28
- package/src/theia-extra.d.ts +410 -410
- package/src/theia.d.ts +18078 -18078
- package/src/theia.proposed.canonicalUriProvider.d.ts +64 -64
- package/src/theia.proposed.customEditorMove.d.ts +41 -41
- package/src/theia.proposed.debugVisualization.d.ts +189 -189
- package/src/theia.proposed.diffCommand.d.ts +55 -55
- package/src/theia.proposed.documentPaste.d.ts +316 -316
- package/src/theia.proposed.editSessionIdentityProvider.d.ts +89 -89
- package/src/theia.proposed.extensionsAny.d.ts +57 -57
- package/src/theia.proposed.externalUriOpener.d.ts +158 -158
- package/src/theia.proposed.findTextInFiles.d.ts +178 -178
- package/src/theia.proposed.fsChunks.d.ts +32 -32
- package/src/theia.proposed.mappedEditsProvider.d.ts +59 -59
- package/src/theia.proposed.multiDocumentHighlightProvider.ts +82 -82
- package/src/theia.proposed.notebookCellExecutionState.d.ts +68 -68
- package/src/theia.proposed.notebookKernelSource.d.ts +62 -62
- package/src/theia.proposed.notebookMessaging.d.ts +84 -84
- package/src/theia.proposed.portsAttributes.d.ts +115 -115
- package/src/theia.proposed.profileContentHandlers.d.ts +35 -35
- package/src/theia.proposed.resolvers.d.ts +44 -44
- package/src/theia.proposed.scmValidation.d.ts +70 -70
- package/src/theia.proposed.shareProvider.d.ts +92 -92
- package/src/theia.proposed.terminalQuickFixProvider.d.ts +103 -103
- package/src/theia.proposed.textSearchProvider.d.ts +145 -145
- 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
|
+
}
|