mirror of
https://github.com/coder/code-server.git
synced 2026-05-08 13:27:25 +02:00
153 lines
5.2 KiB
TypeScript
153 lines
5.2 KiB
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
//
|
|
// NOTE: Please do NOT register services here. Use `registerSingleton()`
|
|
// from `workbench.common.main.ts` if the service is shared between
|
|
// desktop and web or `workbench.sandbox.main.ts` if the service
|
|
// is desktop only.
|
|
//
|
|
// The `node` & `electron-browser` layer is deprecated for workbench!
|
|
//
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
//#region --- workbench common & sandbox
|
|
|
|
import 'vs/workbench/workbench.sandbox.main';
|
|
|
|
//#endregion
|
|
|
|
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
//
|
|
// NOTE: Please do NOT register services here. Use `registerSingleton()`
|
|
// from `workbench.common.main.ts` if the service is shared between
|
|
// desktop and web or `workbench.sandbox.main.ts` if the service
|
|
// is desktop only.
|
|
//
|
|
// The `node` & `electron-browser` layer is deprecated for workbench!
|
|
//
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
//#region --- workbench (desktop main)
|
|
|
|
import 'vs/workbench/electron-browser/desktop.main';
|
|
|
|
//#endregion
|
|
|
|
|
|
//#region --- workbench services
|
|
|
|
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
//
|
|
// NOTE: Please do NOT register services here. Use `registerSingleton()`
|
|
// from `workbench.common.main.ts` if the service is shared between
|
|
// desktop and web or `workbench.sandbox.main.ts` if the service
|
|
// is desktop only.
|
|
//
|
|
// The `node` & `electron-browser` layer is deprecated for workbench!
|
|
//
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
import 'vs/workbench/services/search/electron-browser/searchService';
|
|
import 'vs/workbench/services/extensions/electron-browser/extensionService';
|
|
import 'vs/workbench/services/remote/electron-browser/tunnelServiceImpl';
|
|
|
|
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
//
|
|
// NOTE: Please do NOT register services here. Use `registerSingleton()`
|
|
// from `workbench.common.main.ts` if the service is shared between
|
|
// desktop and web or `workbench.sandbox.main.ts` if the service
|
|
// is desktop only.
|
|
//
|
|
// The `node` & `electron-browser` layer is deprecated for workbench!
|
|
//
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
//#endregion
|
|
|
|
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
//
|
|
// NOTE: Please do NOT register services here. Use `registerSingleton()`
|
|
// from `workbench.common.main.ts` if the service is shared between
|
|
// desktop and web or `workbench.sandbox.main.ts` if the service
|
|
// is desktop only.
|
|
//
|
|
// The `node` & `electron-browser` layer is deprecated for workbench!
|
|
//
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
//#region --- workbench contributions
|
|
|
|
// Rapid Render Splash
|
|
import 'vs/workbench/contrib/splash/electron-browser/partsSplash.contribution';
|
|
|
|
// Webview
|
|
import 'vs/workbench/contrib/webview/electron-browser/webview.contribution';
|
|
|
|
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
//
|
|
// NOTE: Please do NOT register services here. Use `registerSingleton()`
|
|
// from `workbench.common.main.ts` if the service is shared between
|
|
// desktop and web or `workbench.sandbox.main.ts` if the service
|
|
// is desktop only.
|
|
//
|
|
// The `node` & `electron-browser` layer is deprecated for workbench!
|
|
//
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
|
|
// Extensions Management
|
|
import 'vs/workbench/contrib/extensions/electron-browser/extensions.contribution';
|
|
|
|
// Terminal
|
|
import 'vs/workbench/contrib/terminal/electron-browser/terminal.contribution';
|
|
|
|
// External Terminal
|
|
import 'vs/workbench/contrib/externalTerminal/node/externalTerminal.contribution';
|
|
|
|
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
//
|
|
// NOTE: Please do NOT register services here. Use `registerSingleton()`
|
|
// from `workbench.common.main.ts` if the service is shared between
|
|
// desktop and web or `workbench.sandbox.main.ts` if the service
|
|
// is desktop only.
|
|
//
|
|
// The `node` & `electron-browser` layer is deprecated for workbench!
|
|
//
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
// CLI
|
|
import 'vs/workbench/contrib/cli/node/cli.contribution';
|
|
|
|
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
//
|
|
// NOTE: Please do NOT register services here. Use `registerSingleton()`
|
|
// from `workbench.common.main.ts` if the service is shared between
|
|
// desktop and web or `workbench.sandbox.main.ts` if the service
|
|
// is desktop only.
|
|
//
|
|
// The `node` & `electron-browser` layer is deprecated for workbench!
|
|
//
|
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
//#endregion
|