mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
move files around
This commit is contained in:
parent
4baa90bfde
commit
66492d7138
|
@ -12,7 +12,6 @@ import { IEnvironmentService } from 'vs/platform/environment/common/environment'
|
||||||
import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
|
import { IInstantiationService } from 'vs/platform/instantiation/common/instantiation';
|
||||||
import { ExtHostCustomersRegistry } from 'vs/workbench/api/common/extHostCustomers';
|
import { ExtHostCustomersRegistry } from 'vs/workbench/api/common/extHostCustomers';
|
||||||
import { ExtHostContext, ExtHostExtensionServiceShape, IExtHostContext, MainContext } from 'vs/workbench/api/common/extHost.protocol';
|
import { ExtHostContext, ExtHostExtensionServiceShape, IExtHostContext, MainContext } from 'vs/workbench/api/common/extHost.protocol';
|
||||||
import { IExtensionHostStarter } from 'vs/workbench/services/extensions/electron-browser/extensionHost';
|
|
||||||
import { ProxyIdentifier } from 'vs/workbench/services/extensions/common/proxyIdentifier';
|
import { ProxyIdentifier } from 'vs/workbench/services/extensions/common/proxyIdentifier';
|
||||||
import { IRPCProtocolLogger, RPCProtocol, RequestInitiator, ResponsiveState } from 'vs/workbench/services/extensions/common/rpcProtocol';
|
import { IRPCProtocolLogger, RPCProtocol, RequestInitiator, ResponsiveState } from 'vs/workbench/services/extensions/common/rpcProtocol';
|
||||||
import { ResolvedAuthority } from 'vs/platform/remote/common/remoteAuthorityResolver';
|
import { ResolvedAuthority } from 'vs/platform/remote/common/remoteAuthorityResolver';
|
||||||
|
@ -26,6 +25,7 @@ import { IEditorService } from 'vs/workbench/services/editor/common/editorServic
|
||||||
import { IUntitledResourceInput } from 'vs/workbench/common/editor';
|
import { IUntitledResourceInput } from 'vs/workbench/common/editor';
|
||||||
import { StopWatch } from 'vs/base/common/stopwatch';
|
import { StopWatch } from 'vs/base/common/stopwatch';
|
||||||
import { VSBuffer } from 'vs/base/common/buffer';
|
import { VSBuffer } from 'vs/base/common/buffer';
|
||||||
|
import { IExtensionHostStarter } from 'vs/workbench/services/extensions/common/extensions';
|
||||||
|
|
||||||
// Enable to see detailed message communication between window and extension host
|
// Enable to see detailed message communication between window and extension host
|
||||||
const LOG_EXTENSION_HOST_COMMUNICATION = false;
|
const LOG_EXTENSION_HOST_COMMUNICATION = false;
|
|
@ -10,6 +10,7 @@ import { createDecorator } from 'vs/platform/instantiation/common/instantiation'
|
||||||
import { IExtensionPoint } from 'vs/workbench/services/extensions/common/extensionsRegistry';
|
import { IExtensionPoint } from 'vs/workbench/services/extensions/common/extensionsRegistry';
|
||||||
import { ExtensionIdentifier, IExtension, ExtensionType, IExtensionDescription } from 'vs/platform/extensions/common/extensions';
|
import { ExtensionIdentifier, IExtension, ExtensionType, IExtensionDescription } from 'vs/platform/extensions/common/extensions';
|
||||||
import { getGalleryExtensionId } from 'vs/platform/extensionManagement/common/extensionManagementUtil';
|
import { getGalleryExtensionId } from 'vs/platform/extensionManagement/common/extensionManagementUtil';
|
||||||
|
import { IMessagePassingProtocol } from 'vs/base/parts/ipc/common/ipc';
|
||||||
|
|
||||||
export const nullExtensionDescription = Object.freeze(<IExtensionDescription>{
|
export const nullExtensionDescription = Object.freeze(<IExtensionDescription>{
|
||||||
identifier: new ExtensionIdentifier('nullExtensionDescription'),
|
identifier: new ExtensionIdentifier('nullExtensionDescription'),
|
||||||
|
@ -82,6 +83,14 @@ export interface IExtensionHostProfile {
|
||||||
getAggregatedTimes(): Map<ProfileSegmentId, number>;
|
getAggregatedTimes(): Map<ProfileSegmentId, number>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface IExtensionHostStarter {
|
||||||
|
readonly onCrashed: Event<[number, string | null]>;
|
||||||
|
start(): Promise<IMessagePassingProtocol> | null;
|
||||||
|
getInspectPort(): number | undefined;
|
||||||
|
dispose(): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extension id or one of the four known program states.
|
* Extension id or one of the four known program states.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -37,13 +37,7 @@ import { IExtensionDescription } from 'vs/platform/extensions/common/extensions'
|
||||||
import { parseExtensionDevOptions } from '../common/extensionDevOptions';
|
import { parseExtensionDevOptions } from '../common/extensionDevOptions';
|
||||||
import { VSBuffer } from 'vs/base/common/buffer';
|
import { VSBuffer } from 'vs/base/common/buffer';
|
||||||
import { IExtensionHostDebugService } from 'vs/workbench/services/extensions/common/extensionHostDebug';
|
import { IExtensionHostDebugService } from 'vs/workbench/services/extensions/common/extensionHostDebug';
|
||||||
|
import { IExtensionHostStarter } from 'vs/workbench/services/extensions/common/extensions';
|
||||||
export interface IExtensionHostStarter {
|
|
||||||
readonly onCrashed: Event<[number, string | null]>;
|
|
||||||
start(): Promise<IMessagePassingProtocol> | null;
|
|
||||||
getInspectPort(): number | undefined;
|
|
||||||
dispose(): void;
|
|
||||||
}
|
|
||||||
|
|
||||||
export class ExtensionHostProcessWorker implements IExtensionHostStarter {
|
export class ExtensionHostProcessWorker implements IExtensionHostStarter {
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ import { ExtensionHostProcessWorker } from 'vs/workbench/services/extensions/ele
|
||||||
import { ExtensionDescriptionRegistry } from 'vs/workbench/services/extensions/common/extensionDescriptionRegistry';
|
import { ExtensionDescriptionRegistry } from 'vs/workbench/services/extensions/common/extensionDescriptionRegistry';
|
||||||
import { ResponsiveState } from 'vs/workbench/services/extensions/common/rpcProtocol';
|
import { ResponsiveState } from 'vs/workbench/services/extensions/common/rpcProtocol';
|
||||||
import { CachedExtensionScanner, Logger } from 'vs/workbench/services/extensions/electron-browser/cachedExtensionScanner';
|
import { CachedExtensionScanner, Logger } from 'vs/workbench/services/extensions/electron-browser/cachedExtensionScanner';
|
||||||
import { ExtensionHostProcessManager } from 'vs/workbench/services/extensions/electron-browser/extensionHostProcessManager';
|
import { ExtensionHostProcessManager } from 'vs/workbench/services/extensions/common/extensionHostProcessManager';
|
||||||
import { ExtensionIdentifier, IExtension, ExtensionType, IExtensionDescription } from 'vs/platform/extensions/common/extensions';
|
import { ExtensionIdentifier, IExtension, ExtensionType, IExtensionDescription } from 'vs/platform/extensions/common/extensions';
|
||||||
import { Schemas } from 'vs/base/common/network';
|
import { Schemas } from 'vs/base/common/network';
|
||||||
import { registerSingleton } from 'vs/platform/instantiation/common/extensions';
|
import { registerSingleton } from 'vs/platform/instantiation/common/extensions';
|
||||||
|
|
|
@ -428,7 +428,8 @@
|
||||||
"**/vs/platform/**/common/**",
|
"**/vs/platform/**/common/**",
|
||||||
"**/vs/editor/common/**",
|
"**/vs/editor/common/**",
|
||||||
"**/vs/workbench/common/**",
|
"**/vs/workbench/common/**",
|
||||||
"**/vs/workbench/services/**/common/**"
|
"**/vs/workbench/services/**/common/**",
|
||||||
|
"**/vs/workbench/api/**/common/**"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue