@theia/plugin-ext-vscode 1.45.1 → 1.46.0-next.72

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 (56) hide show
  1. package/README.md +32 -32
  2. package/lib/browser/plugin-vscode-commands-contribution.d.ts +80 -80
  3. package/lib/browser/plugin-vscode-commands-contribution.js +782 -782
  4. package/lib/browser/plugin-vscode-contribution.d.ts +5 -5
  5. package/lib/browser/plugin-vscode-contribution.js +53 -53
  6. package/lib/browser/plugin-vscode-frontend-module.d.ts +3 -3
  7. package/lib/browser/plugin-vscode-frontend-module.js +30 -30
  8. package/lib/common/plugin-vscode-environment.d.ts +11 -11
  9. package/lib/common/plugin-vscode-environment.js +64 -64
  10. package/lib/common/plugin-vscode-types.d.ts +2 -2
  11. package/lib/common/plugin-vscode-types.js +21 -21
  12. package/lib/common/plugin-vscode-uri.d.ts +16 -16
  13. package/lib/common/plugin-vscode-uri.js +51 -51
  14. package/lib/node/context/plugin-vscode-init-fe.d.ts +2 -2
  15. package/lib/node/context/plugin-vscode-init-fe.js +37 -37
  16. package/lib/node/local-vsix-file-plugin-deployer-resolver.d.ts +11 -11
  17. package/lib/node/local-vsix-file-plugin-deployer-resolver.js +61 -61
  18. package/lib/node/package.spec.js +25 -25
  19. package/lib/node/plugin-vscode-backend-module.d.ts +3 -3
  20. package/lib/node/plugin-vscode-backend-module.js +40 -40
  21. package/lib/node/plugin-vscode-cli-contribution.d.ts +21 -21
  22. package/lib/node/plugin-vscode-cli-contribution.js +67 -67
  23. package/lib/node/plugin-vscode-deployer-participant.d.ts +6 -6
  24. package/lib/node/plugin-vscode-deployer-participant.js +58 -58
  25. package/lib/node/plugin-vscode-directory-handler.d.ts +20 -20
  26. package/lib/node/plugin-vscode-directory-handler.js +119 -119
  27. package/lib/node/plugin-vscode-file-handler.d.ts +9 -9
  28. package/lib/node/plugin-vscode-file-handler.d.ts.map +1 -1
  29. package/lib/node/plugin-vscode-file-handler.js +74 -74
  30. package/lib/node/plugin-vscode-file-handler.js.map +1 -1
  31. package/lib/node/plugin-vscode-init.d.ts +2 -2
  32. package/lib/node/plugin-vscode-init.js +68 -68
  33. package/lib/node/plugin-vscode-utils.d.ts +7 -7
  34. package/lib/node/plugin-vscode-utils.js +104 -104
  35. package/lib/node/scanner-vscode.d.ts +12 -12
  36. package/lib/node/scanner-vscode.d.ts.map +1 -1
  37. package/lib/node/scanner-vscode.js +116 -112
  38. package/lib/node/scanner-vscode.js.map +1 -1
  39. package/package.json +16 -16
  40. package/src/browser/plugin-vscode-commands-contribution.ts +933 -933
  41. package/src/browser/plugin-vscode-contribution.ts +47 -47
  42. package/src/browser/plugin-vscode-frontend-module.ts +30 -30
  43. package/src/common/plugin-vscode-environment.ts +59 -59
  44. package/src/common/plugin-vscode-types.ts +20 -20
  45. package/src/common/plugin-vscode-uri.ts +47 -47
  46. package/src/node/context/plugin-vscode-init-fe.ts +43 -43
  47. package/src/node/local-vsix-file-plugin-deployer-resolver.ts +51 -51
  48. package/src/node/package.spec.ts +28 -28
  49. package/src/node/plugin-vscode-backend-module.ts +46 -46
  50. package/src/node/plugin-vscode-cli-contribution.ts +64 -64
  51. package/src/node/plugin-vscode-deployer-participant.ts +48 -48
  52. package/src/node/plugin-vscode-directory-handler.ts +123 -123
  53. package/src/node/plugin-vscode-file-handler.ts +62 -62
  54. package/src/node/plugin-vscode-init.ts +80 -80
  55. package/src/node/plugin-vscode-utils.ts +101 -101
  56. package/src/node/scanner-vscode.ts +113 -109
package/README.md CHANGED
@@ -1,32 +1,32 @@
1
- <div align='center'>
2
-
3
- <br />
4
-
5
- <img src='https://raw.githubusercontent.com/eclipse-theia/theia/master/logo/theia.svg?sanitize=true' alt='theia-ext-logo' width='100px' />
6
-
7
- <h2>ECLIPSE THEIA - PLUGIN-EXT-VSCODE EXTENSION</h2>
8
-
9
- <hr />
10
-
11
- </div>
12
-
13
- ## Description
14
-
15
- The `@theia/plugin-ext-vscode` extension contributes functionality to be able to successfully run VS Code extensions in the application.
16
- The extension is mandatory for any application which requires VS Code extension support.
17
-
18
-
19
- ## Additional Information
20
-
21
- - [API documentation for `@theia/plugin-ext-vscode`](https://eclipse-theia.github.io/theia/docs/next/modules/plugin_ext_vscode.html)
22
- - [Theia - GitHub](https://github.com/eclipse-theia/theia)
23
- - [Theia - Website](https://theia-ide.org/)
24
-
25
- ## License
26
-
27
- - [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/)
28
- - [一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp)
29
-
30
- ## Trademark
31
- "Theia" is a trademark of the Eclipse Foundation
32
- https://www.eclipse.org/theia
1
+ <div align='center'>
2
+
3
+ <br />
4
+
5
+ <img src='https://raw.githubusercontent.com/eclipse-theia/theia/master/logo/theia.svg?sanitize=true' alt='theia-ext-logo' width='100px' />
6
+
7
+ <h2>ECLIPSE THEIA - PLUGIN-EXT-VSCODE EXTENSION</h2>
8
+
9
+ <hr />
10
+
11
+ </div>
12
+
13
+ ## Description
14
+
15
+ The `@theia/plugin-ext-vscode` extension contributes functionality to be able to successfully run VS Code extensions in the application.
16
+ The extension is mandatory for any application which requires VS Code extension support.
17
+
18
+
19
+ ## Additional Information
20
+
21
+ - [API documentation for `@theia/plugin-ext-vscode`](https://eclipse-theia.github.io/theia/docs/next/modules/plugin_ext_vscode.html)
22
+ - [Theia - GitHub](https://github.com/eclipse-theia/theia)
23
+ - [Theia - Website](https://theia-ide.org/)
24
+
25
+ ## License
26
+
27
+ - [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/)
28
+ - [一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp)
29
+
30
+ ## Trademark
31
+ "Theia" is a trademark of the Eclipse Foundation
32
+ https://www.eclipse.org/theia
@@ -1,81 +1,81 @@
1
- import { Command, CommandContribution, CommandRegistry, MessageService } from '@theia/core';
2
- import { ApplicationShell, OpenerService, QuickInputService } from '@theia/core/lib/browser';
3
- import { ContextKeyService } from '@theia/core/lib/browser/context-key-service';
4
- import { ApplicationShellMouseTracker } from '@theia/core/lib/browser/shell/application-shell-mouse-tracker';
5
- import { CommandService } from '@theia/core/lib/common/command';
6
- import { EditorManager } from '@theia/editor/lib/browser';
7
- import { WorkspaceService } from '@theia/workspace/lib/browser/workspace-service';
8
- import { DiffService } from '@theia/workspace/lib/browser/diff-service';
9
- import { URI } from '@theia/core/shared/vscode-uri';
10
- import { PluginServer } from '@theia/plugin-ext/lib/common/plugin-protocol';
11
- import { TerminalFrontendContribution } from '@theia/terminal/lib/browser/terminal-frontend-contribution';
12
- import { QuickOpenWorkspace } from '@theia/workspace/lib/browser/quick-open-workspace';
13
- import { TerminalService } from '@theia/terminal/lib/browser/base/terminal-service';
14
- import { FileService } from '@theia/filesystem/lib/browser/file-service';
15
- import { CallHierarchyServiceProvider, CallHierarchyService } from '@theia/callhierarchy/lib/browser';
16
- import { TypeHierarchyServiceProvider, TypeHierarchyService } from '@theia/typehierarchy/lib/browser';
17
- import { MonacoTextModelService } from '@theia/monaco/lib/browser/monaco-text-model-service';
18
- import { WindowService } from '@theia/core/lib/browser/window/window-service';
19
- import { CodeEditorWidgetUtil } from '@theia/plugin-ext/lib/main/browser/menus/vscode-theia-menu-mappings';
20
- export declare namespace VscodeCommands {
21
- const OPEN: Command;
22
- const OPEN_WITH: Command;
23
- const OPEN_FOLDER: Command;
24
- const DIFF: Command;
25
- const INSTALL_FROM_VSIX: Command;
26
- }
27
- export interface UsbDeviceData {
28
- readonly deviceClass: number;
29
- readonly deviceProtocol: number;
30
- readonly deviceSubclass: number;
31
- readonly deviceVersionMajor: number;
32
- readonly deviceVersionMinor: number;
33
- readonly deviceVersionSubminor: number;
34
- readonly manufacturerName?: string;
35
- readonly productId: number;
36
- readonly productName?: string;
37
- readonly serialNumber?: string;
38
- readonly usbVersionMajor: number;
39
- readonly usbVersionMinor: number;
40
- readonly usbVersionSubminor: number;
41
- readonly vendorId: number;
42
- }
43
- export interface SerialPortData {
44
- readonly usbVendorId?: number | undefined;
45
- readonly usbProductId?: number | undefined;
46
- }
47
- export interface HidDeviceData {
48
- readonly opened: boolean;
49
- readonly vendorId: number;
50
- readonly productId: number;
51
- readonly productName: string;
52
- readonly collections: [];
53
- }
54
- export declare class PluginVscodeCommandsContribution implements CommandContribution {
55
- protected readonly commandService: CommandService;
56
- protected readonly contextKeyService: ContextKeyService;
57
- protected readonly editorManager: EditorManager;
58
- protected readonly shell: ApplicationShell;
59
- protected readonly diffService: DiffService;
60
- protected readonly openerService: OpenerService;
61
- protected readonly mouseTracker: ApplicationShellMouseTracker;
62
- protected readonly quickInput: QuickInputService;
63
- protected readonly workspaceService: WorkspaceService;
64
- protected readonly terminalContribution: TerminalFrontendContribution;
65
- protected readonly quickOpenWorkspace: QuickOpenWorkspace;
66
- protected readonly terminalService: TerminalService;
67
- protected readonly codeEditorWidgetUtil: CodeEditorWidgetUtil;
68
- protected readonly pluginServer: PluginServer;
69
- protected readonly fileService: FileService;
70
- protected readonly callHierarchyProvider: CallHierarchyServiceProvider;
71
- protected readonly typeHierarchyProvider: TypeHierarchyServiceProvider;
72
- protected readonly textModelService: MonacoTextModelService;
73
- protected readonly windowService: WindowService;
74
- protected readonly messageService: MessageService;
75
- private openWith;
76
- registerCommands(commands: CommandRegistry): void;
77
- private resolveLanguageId;
78
- protected getCallHierarchyServiceForUri(resource: URI): Promise<CallHierarchyService | undefined>;
79
- protected getTypeHierarchyServiceForUri(resource: URI): Promise<TypeHierarchyService | undefined>;
80
- }
1
+ import { Command, CommandContribution, CommandRegistry, MessageService } from '@theia/core';
2
+ import { ApplicationShell, OpenerService, QuickInputService } from '@theia/core/lib/browser';
3
+ import { ContextKeyService } from '@theia/core/lib/browser/context-key-service';
4
+ import { ApplicationShellMouseTracker } from '@theia/core/lib/browser/shell/application-shell-mouse-tracker';
5
+ import { CommandService } from '@theia/core/lib/common/command';
6
+ import { EditorManager } from '@theia/editor/lib/browser';
7
+ import { WorkspaceService } from '@theia/workspace/lib/browser/workspace-service';
8
+ import { DiffService } from '@theia/workspace/lib/browser/diff-service';
9
+ import { URI } from '@theia/core/shared/vscode-uri';
10
+ import { PluginServer } from '@theia/plugin-ext/lib/common/plugin-protocol';
11
+ import { TerminalFrontendContribution } from '@theia/terminal/lib/browser/terminal-frontend-contribution';
12
+ import { QuickOpenWorkspace } from '@theia/workspace/lib/browser/quick-open-workspace';
13
+ import { TerminalService } from '@theia/terminal/lib/browser/base/terminal-service';
14
+ import { FileService } from '@theia/filesystem/lib/browser/file-service';
15
+ import { CallHierarchyServiceProvider, CallHierarchyService } from '@theia/callhierarchy/lib/browser';
16
+ import { TypeHierarchyServiceProvider, TypeHierarchyService } from '@theia/typehierarchy/lib/browser';
17
+ import { MonacoTextModelService } from '@theia/monaco/lib/browser/monaco-text-model-service';
18
+ import { WindowService } from '@theia/core/lib/browser/window/window-service';
19
+ import { CodeEditorWidgetUtil } from '@theia/plugin-ext/lib/main/browser/menus/vscode-theia-menu-mappings';
20
+ export declare namespace VscodeCommands {
21
+ const OPEN: Command;
22
+ const OPEN_WITH: Command;
23
+ const OPEN_FOLDER: Command;
24
+ const DIFF: Command;
25
+ const INSTALL_FROM_VSIX: Command;
26
+ }
27
+ export interface UsbDeviceData {
28
+ readonly deviceClass: number;
29
+ readonly deviceProtocol: number;
30
+ readonly deviceSubclass: number;
31
+ readonly deviceVersionMajor: number;
32
+ readonly deviceVersionMinor: number;
33
+ readonly deviceVersionSubminor: number;
34
+ readonly manufacturerName?: string;
35
+ readonly productId: number;
36
+ readonly productName?: string;
37
+ readonly serialNumber?: string;
38
+ readonly usbVersionMajor: number;
39
+ readonly usbVersionMinor: number;
40
+ readonly usbVersionSubminor: number;
41
+ readonly vendorId: number;
42
+ }
43
+ export interface SerialPortData {
44
+ readonly usbVendorId?: number | undefined;
45
+ readonly usbProductId?: number | undefined;
46
+ }
47
+ export interface HidDeviceData {
48
+ readonly opened: boolean;
49
+ readonly vendorId: number;
50
+ readonly productId: number;
51
+ readonly productName: string;
52
+ readonly collections: [];
53
+ }
54
+ export declare class PluginVscodeCommandsContribution implements CommandContribution {
55
+ protected readonly commandService: CommandService;
56
+ protected readonly contextKeyService: ContextKeyService;
57
+ protected readonly editorManager: EditorManager;
58
+ protected readonly shell: ApplicationShell;
59
+ protected readonly diffService: DiffService;
60
+ protected readonly openerService: OpenerService;
61
+ protected readonly mouseTracker: ApplicationShellMouseTracker;
62
+ protected readonly quickInput: QuickInputService;
63
+ protected readonly workspaceService: WorkspaceService;
64
+ protected readonly terminalContribution: TerminalFrontendContribution;
65
+ protected readonly quickOpenWorkspace: QuickOpenWorkspace;
66
+ protected readonly terminalService: TerminalService;
67
+ protected readonly codeEditorWidgetUtil: CodeEditorWidgetUtil;
68
+ protected readonly pluginServer: PluginServer;
69
+ protected readonly fileService: FileService;
70
+ protected readonly callHierarchyProvider: CallHierarchyServiceProvider;
71
+ protected readonly typeHierarchyProvider: TypeHierarchyServiceProvider;
72
+ protected readonly textModelService: MonacoTextModelService;
73
+ protected readonly windowService: WindowService;
74
+ protected readonly messageService: MessageService;
75
+ private openWith;
76
+ registerCommands(commands: CommandRegistry): void;
77
+ private resolveLanguageId;
78
+ protected getCallHierarchyServiceForUri(resource: URI): Promise<CallHierarchyService | undefined>;
79
+ protected getTypeHierarchyServiceForUri(resource: URI): Promise<TypeHierarchyService | undefined>;
80
+ }
81
81
  //# sourceMappingURL=plugin-vscode-commands-contribution.d.ts.map