@codingame/monaco-vscode-extensions-service-override 20.1.0 → 20.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-extensions-service-override",
3
- "version": "20.1.0",
3
+ "version": "20.2.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - extensions service-override",
6
6
  "keywords": [],
@@ -15,32 +15,32 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-0af61f78-dfc5-57ba-8d32-66268c8de38d-common": "20.1.0",
19
- "@codingame/monaco-vscode-256d5b78-0649-50e9-8354-2807f95f68f4-common": "20.1.0",
20
- "@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common": "20.1.0",
21
- "@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "20.1.0",
22
- "@codingame/monaco-vscode-4a3ac544-9a61-534c-88df-756262793ef7-common": "20.1.0",
23
- "@codingame/monaco-vscode-571c8352-7953-5038-9f09-e03bb6219a0e-common": "20.1.0",
24
- "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "20.1.0",
25
- "@codingame/monaco-vscode-622c0cca-d5fa-59b6-b730-0715afcf93ee-common": "20.1.0",
26
- "@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common": "20.1.0",
27
- "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common": "20.1.0",
28
- "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common": "20.1.0",
29
- "@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common": "20.1.0",
30
- "@codingame/monaco-vscode-8ccb7637-50ea-5359-97bf-00015d7fe567-common": "20.1.0",
31
- "@codingame/monaco-vscode-a17e9d37-b6c1-5556-8402-5db73960fae3-common": "20.1.0",
32
- "@codingame/monaco-vscode-a654b07e-8806-5425-b124-18f03ba8e11a-common": "20.1.0",
33
- "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "20.1.0",
34
- "@codingame/monaco-vscode-a9da9abe-278d-5ce6-9418-99c7c07c5c37-common": "20.1.0",
35
- "@codingame/monaco-vscode-api": "20.1.0",
36
- "@codingame/monaco-vscode-b994942c-360d-5b68-8a33-77d4bde6b714-common": "20.1.0",
37
- "@codingame/monaco-vscode-bf94ddb5-e436-506a-9763-5ab86b642508-common": "20.1.0",
38
- "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common": "20.1.0",
39
- "@codingame/monaco-vscode-d0569cfb-4706-5ad6-b0b0-5115ad8685db-common": "20.1.0",
40
- "@codingame/monaco-vscode-eb7d5efd-2e60-59f8-9ba4-9a8ae8cb2957-common": "20.1.0",
41
- "@codingame/monaco-vscode-eba0b9b3-174c-5dae-9867-a37810ca1808-common": "20.1.0",
42
- "@codingame/monaco-vscode-f22e7e55-aee8-5b52-a6bc-950efd9f5890-common": "20.1.0",
43
- "@codingame/monaco-vscode-files-service-override": "20.1.0"
18
+ "@codingame/monaco-vscode-0af61f78-dfc5-57ba-8d32-66268c8de38d-common": "20.2.0",
19
+ "@codingame/monaco-vscode-256d5b78-0649-50e9-8354-2807f95f68f4-common": "20.2.0",
20
+ "@codingame/monaco-vscode-2a94c04a-b85b-5669-b06b-89c1bfa11cb9-common": "20.2.0",
21
+ "@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "20.2.0",
22
+ "@codingame/monaco-vscode-4a3ac544-9a61-534c-88df-756262793ef7-common": "20.2.0",
23
+ "@codingame/monaco-vscode-571c8352-7953-5038-9f09-e03bb6219a0e-common": "20.2.0",
24
+ "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "20.2.0",
25
+ "@codingame/monaco-vscode-622c0cca-d5fa-59b6-b730-0715afcf93ee-common": "20.2.0",
26
+ "@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common": "20.2.0",
27
+ "@codingame/monaco-vscode-6845754f-e617-5ed9-8aaa-6ca3653a9532-common": "20.2.0",
28
+ "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common": "20.2.0",
29
+ "@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common": "20.2.0",
30
+ "@codingame/monaco-vscode-8ccb7637-50ea-5359-97bf-00015d7fe567-common": "20.2.0",
31
+ "@codingame/monaco-vscode-a17e9d37-b6c1-5556-8402-5db73960fae3-common": "20.2.0",
32
+ "@codingame/monaco-vscode-a654b07e-8806-5425-b124-18f03ba8e11a-common": "20.2.0",
33
+ "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "20.2.0",
34
+ "@codingame/monaco-vscode-a9da9abe-278d-5ce6-9418-99c7c07c5c37-common": "20.2.0",
35
+ "@codingame/monaco-vscode-api": "20.2.0",
36
+ "@codingame/monaco-vscode-b994942c-360d-5b68-8a33-77d4bde6b714-common": "20.2.0",
37
+ "@codingame/monaco-vscode-bf94ddb5-e436-506a-9763-5ab86b642508-common": "20.2.0",
38
+ "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common": "20.2.0",
39
+ "@codingame/monaco-vscode-d0569cfb-4706-5ad6-b0b0-5115ad8685db-common": "20.2.0",
40
+ "@codingame/monaco-vscode-eb7d5efd-2e60-59f8-9ba4-9a8ae8cb2957-common": "20.2.0",
41
+ "@codingame/monaco-vscode-eba0b9b3-174c-5dae-9867-a37810ca1808-common": "20.2.0",
42
+ "@codingame/monaco-vscode-f22e7e55-aee8-5b52-a6bc-950efd9f5890-common": "20.2.0",
43
+ "@codingame/monaco-vscode-files-service-override": "20.2.0"
44
44
  },
45
45
  "main": "index.js",
46
46
  "module": "index.js",
@@ -9,6 +9,7 @@ export interface RemoteSocketHalf {
9
9
  onClose: Emitter<SocketCloseEvent>;
10
10
  onEnd: Emitter<void>;
11
11
  }
12
+ /** Should be called immediately after making a ManagedSocket to make it ready for data flow. */
12
13
  export declare function connectManagedSocket<T extends ManagedSocket>(socket: T, path: string, query: string, debugLabel: string, half: RemoteSocketHalf): Promise<T>;
13
14
  export declare abstract class ManagedSocket extends Disposable implements ISocket {
14
15
  private readonly debugLabel;
@@ -20,8 +21,11 @@ export declare abstract class ManagedSocket extends Disposable implements ISocke
20
21
  onDidDispose: Event<void>;
21
22
  private ended;
22
23
  protected constructor(debugLabel: string, half: RemoteSocketHalf);
24
+ /** Pauses data events until a new listener comes in onData() */
23
25
  pauseData(): void;
26
+ /** Flushes data to the socket. */
24
27
  drain(): Promise<void>;
28
+ /** Ends the remote socket. */
25
29
  end(): void;
26
30
  abstract write(buffer: VSBuffer): void;
27
31
  protected abstract closeRemote(): void;
@@ -166,6 +166,11 @@ export declare class MainThreadComments extends Disposable implements MainThread
166
166
  private registerView;
167
167
  private setComments;
168
168
  private registerViewOpenedListener;
169
+ /**
170
+ * If the comments view has never been opened, the constructor for it has not yet run so it has
171
+ * no listeners for comment threads being set or updated. Listen for the view opening for the
172
+ * first time and send it comments then.
173
+ */
169
174
  private registerViewListeners;
170
175
  private getHandler;
171
176
  }
@@ -20,7 +20,9 @@ export declare class BoundModelReferenceCollection {
20
20
  private readonly _maxSize;
21
21
  private _data;
22
22
  private _length;
23
- constructor(_extUri: IExtUri, _maxAge?: number, _maxLength?: number, _maxSize?: number);
23
+ constructor(_extUri: IExtUri, _maxAge?: number, // auto-dispse by age
24
+ _maxLength?: number, // auto-dispose by total length
25
+ _maxSize?: number);
24
26
  dispose(): void;
25
27
  remove(uri: URI): void;
26
28
  add(uri: URI, ref: IReference<any>, length?: number): void;
@@ -28,6 +28,10 @@ export declare class MainThreadTextEditorProperties {
28
28
  private static _rangesEqual;
29
29
  private static _optionsEqual;
30
30
  }
31
+ /**
32
+ * Text Editor that is permanently bound to the same model.
33
+ * It can be bound or not to a CodeEditor.
34
+ */
31
35
  export declare class MainThreadTextEditor {
32
36
  private readonly _id;
33
37
  private readonly _model;
@@ -17,19 +17,80 @@ export declare class MainThreadEditorTabs implements MainThreadEditorTabsShape {
17
17
  private readonly _multiDiffEditorInputListeners;
18
18
  constructor(extHostContext: IExtHostContext, _editorGroupsService: IEditorGroupsService, _configurationService: IConfigurationService, _logService: ILogService, editorService: IEditorService);
19
19
  dispose(): void;
20
+ /**
21
+ * Creates a tab object with the correct properties
22
+ * @param editor The editor input represented by the tab
23
+ * @param group The group the tab is in
24
+ * @returns A tab object
25
+ */
20
26
  private _buildTabObject;
21
27
  private _editorInputToDto;
28
+ /**
29
+ * Generates a unique id for a tab
30
+ * @param editor The editor input
31
+ * @param groupId The group id
32
+ * @returns A unique identifier for a specific tab
33
+ */
22
34
  private _generateTabId;
35
+ /**
36
+ * Called whenever a group activates, updates the model by marking the group as active an notifies the extension host
37
+ */
23
38
  private _onDidGroupActivate;
39
+ /**
40
+ * Called when the tab label changes
41
+ * @param groupId The id of the group the tab exists in
42
+ * @param editorInput The editor input represented by the tab
43
+ */
24
44
  private _onDidTabLabelChange;
45
+ /**
46
+ * Called when a new tab is opened
47
+ * @param groupId The id of the group the tab is being created in
48
+ * @param editorInput The editor input being opened
49
+ * @param editorIndex The index of the editor within that group
50
+ */
25
51
  private _onDidTabOpen;
52
+ /**
53
+ * Called when a tab is closed
54
+ * @param groupId The id of the group the tab is being removed from
55
+ * @param editorIndex The index of the editor within that group
56
+ */
26
57
  private _onDidTabClose;
58
+ /**
59
+ * Called when the active tab changes
60
+ * @param groupId The id of the group the tab is contained in
61
+ * @param editorIndex The index of the tab
62
+ */
27
63
  private _onDidTabActiveChange;
64
+ /**
65
+ * Called when the dirty indicator on the tab changes
66
+ * @param groupId The id of the group the tab is in
67
+ * @param editorIndex The index of the tab
68
+ * @param editor The editor input represented by the tab
69
+ */
28
70
  private _onDidTabDirty;
71
+ /**
72
+ * Called when the tab is pinned/unpinned
73
+ * @param groupId The id of the group the tab is in
74
+ * @param editorIndex The index of the tab
75
+ * @param editor The editor input represented by the tab
76
+ */
29
77
  private _onDidTabPinChange;
78
+ /**
79
+ * Called when the tab is preview / unpreviewed
80
+ * @param groupId The id of the group the tab is in
81
+ * @param editorIndex The index of the tab
82
+ * @param editor The editor input represented by the tab
83
+ */
30
84
  private _onDidTabPreviewChange;
31
85
  private _onDidTabMove;
86
+ /**
87
+ * Builds the model from scratch based on the current state of the editor service.
88
+ */
32
89
  private _createTabsModel;
90
+ /**
91
+ * The main handler for the tab events
92
+ * @param events The list of events to process
93
+ */
33
94
  private _updateTabsModel;
34
95
  $moveTab(tabId: string, index: number, viewColumn: EditorGroupColumn, preserveFocus?: boolean): void;
35
96
  $closeTab(tabIds: string[], preserveFocus?: boolean): Promise<boolean>;
@@ -38,7 +38,7 @@ export declare class MainThreadSCM implements MainThreadSCMShape {
38
38
  number,
39
39
  string,
40
40
  string,
41
- SCMGroupFeatures,
41
+ SCMGroupFeatures, /* multiDiffEditorEnableViewChanges */
42
42
  boolean
43
43
  ][], splices: SCMRawResourceSplices[]): Promise<void>;
44
44
  $updateGroup(sourceControlHandle: number, groupHandle: number, features: SCMGroupFeatures): Promise<void>;
@@ -30,6 +30,11 @@ export declare class MainThreadTerminalService implements MainThreadTerminalServ
30
30
  private readonly _environmentService;
31
31
  private readonly _store;
32
32
  private readonly _proxy;
33
+ /**
34
+ * Stores a map from a temporary terminal id (a UUID generated on the extension host side)
35
+ * to a numeric terminal id (an id generated on the renderer side)
36
+ * This comes in play only when dealing with terminals created on the extension host side
37
+ */
33
38
  private readonly _extHostTerminals;
34
39
  private readonly _terminalProcessProxies;
35
40
  private readonly _profileProviders;
@@ -37,6 +42,12 @@ export declare class MainThreadTerminalService implements MainThreadTerminalServ
37
42
  private readonly _quickFixProviders;
38
43
  private readonly _dataEventTracker;
39
44
  private readonly _sendCommandEventListener;
45
+ /**
46
+ * A single shared terminal link provider for the exthost. When an ext registers a link
47
+ * provider, this is registered with the terminal on the renderer side and all links are
48
+ * provided through this, even from multiple ext link providers. Xterm should remove lower
49
+ * priority intersecting links itself.
50
+ */
40
51
  private readonly _linkProvider;
41
52
  private _os;
42
53
  constructor(_extHostContext: IExtHostContext, _terminalService: ITerminalService, _terminalLinkProviderService: ITerminalLinkProviderService, _terminalQuickFixService: ITerminalQuickFixService, _instantiationService: IInstantiationService, _environmentVariableService: IEnvironmentVariableService, _logService: ILogService, _terminalProfileResolverService: ITerminalProfileResolverService, remoteAgentService: IRemoteAgentService, _terminalGroupService: ITerminalGroupService, _terminalEditorService: ITerminalEditorService, _terminalProfileService: ITerminalProfileService, _terminalCompletionService: ITerminalCompletionService, _environmentService: IWorkbenchEnvironmentService);
@@ -18,26 +18,89 @@ export declare class MainThreadTesting extends Disposable implements MainThreadT
18
18
  private readonly diffListener;
19
19
  private readonly testProviderRegistrations;
20
20
  constructor(extHostContext: IExtHostContext, uriIdentityService: IUriIdentityService, testService: ITestService, testProfiles: ITestProfileService, resultService: ITestResultService);
21
+ /**
22
+ * @inheritdoc
23
+ */
21
24
  $markTestRetired(testIds: string[] | undefined): void;
25
+ /**
26
+ * @inheritdoc
27
+ */
22
28
  $publishTestRunProfile(profile: ITestRunProfile): void;
29
+ /**
30
+ * @inheritdoc
31
+ */
23
32
  $updateTestRunConfig(controllerId: string, profileId: number, update: Partial<ITestRunProfile>): void;
33
+ /**
34
+ * @inheritdoc
35
+ */
24
36
  $removeTestProfile(controllerId: string, profileId: number): void;
37
+ /**
38
+ * @inheritdoc
39
+ */
25
40
  $addTestsToRun(controllerId: string, runId: string, tests: ITestItem.Serialized[]): void;
41
+ /**
42
+ * @inheritdoc
43
+ */
26
44
  $appendCoverage(runId: string, taskId: string, coverage: IFileCoverage.Serialized): void;
45
+ /**
46
+ * @inheritdoc
47
+ */
27
48
  $startedExtensionTestRun(req: ExtensionRunTestsRequest): void;
49
+ /**
50
+ * @inheritdoc
51
+ */
28
52
  $startedTestRunTask(runId: string, task: ITestRunTask): void;
53
+ /**
54
+ * @inheritdoc
55
+ */
29
56
  $finishedTestRunTask(runId: string, taskId: string): void;
57
+ /**
58
+ * @inheritdoc
59
+ */
30
60
  $finishedExtensionTestRun(runId: string): void;
61
+ /**
62
+ * @inheritdoc
63
+ */
31
64
  $updateTestStateInRun(runId: string, taskId: string, testId: string, state: TestResultState, duration?: number): void;
65
+ /**
66
+ * @inheritdoc
67
+ */
32
68
  $appendOutputToRun(runId: string, taskId: string, output: VSBuffer, locationDto?: ILocationDto, testId?: string): void;
69
+ /**
70
+ * @inheritdoc
71
+ */
33
72
  $appendTestMessagesInRun(runId: string, taskId: string, testId: string, messages: ITestMessage.Serialized[]): void;
73
+ /**
74
+ * @inheritdoc
75
+ */
34
76
  $registerTestController(controllerId: string, _label: string, _capabilities: TestControllerCapability): void;
77
+ /**
78
+ * @inheritdoc
79
+ */
35
80
  $updateController(controllerId: string, patch: ITestControllerPatch): void;
81
+ /**
82
+ * @inheritdoc
83
+ */
36
84
  $unregisterTestController(controllerId: string): void;
85
+ /**
86
+ * @inheritdoc
87
+ */
37
88
  $subscribeToDiffs(): void;
89
+ /**
90
+ * @inheritdoc
91
+ */
38
92
  $unsubscribeFromDiffs(): void;
93
+ /**
94
+ * @inheritdoc
95
+ */
39
96
  $publishDiff(controllerId: string, diff: TestsDiffOp.Serialized[]): void;
97
+ /**
98
+ * @inheritdoc
99
+ */
40
100
  $runTests(req: ResolvedTestRunRequest, token: CancellationToken): Promise<string>;
101
+ /**
102
+ * @inheritdoc
103
+ */
41
104
  $getCoverageDetails(resultId: string, taskIndex: number, uri: UriComponents, token: CancellationToken): Promise<CoverageDetails.Serialized[]>;
42
105
  dispose(): void;
43
106
  private withLiveRun;
@@ -41,18 +41,31 @@ export interface IShellQuotingOptionsDTO {
41
41
  weak?: string;
42
42
  }
43
43
  export declare enum TaskEventKind {
44
+ /** Indicates that a task's properties or configuration have changed */
44
45
  Changed = "changed",
46
+ /** Indicates that a task has begun executing */
45
47
  ProcessStarted = "processStarted",
48
+ /** Indicates that a task process has completed */
46
49
  ProcessEnded = "processEnded",
50
+ /** Indicates that a task was terminated, either by user action or by the system */
47
51
  Terminated = "terminated",
52
+ /** Indicates that a task has started running */
48
53
  Start = "start",
54
+ /** Indicates that a task has acquired all needed input/variables to execute */
49
55
  AcquiredInput = "acquiredInput",
56
+ /** Indicates that a dependent task has started */
50
57
  DependsOnStarted = "dependsOnStarted",
58
+ /** Indicates that a task is actively running/processing */
51
59
  Active = "active",
60
+ /** Indicates that a task is paused/waiting but not complete */
52
61
  Inactive = "inactive",
62
+ /** Indicates that a task has completed fully */
53
63
  End = "end",
64
+ /** Indicates that a task's problem matcher has started */
54
65
  ProblemMatcherStarted = "problemMatcherStarted",
66
+ /** Indicates that a task's problem matcher has ended */
55
67
  ProblemMatcherEnded = "problemMatcherEnded",
68
+ /** Indicates that a task's problem matcher has found errors */
56
69
  ProblemMatcherFoundErrors = "problemMatcherFoundErrors"
57
70
  }
58
71
  export interface IShellExecutionOptionsDTO extends IExecutionOptionsDTO {
@@ -168,8 +168,20 @@ export declare class DeltaExtensionsQueueItem {
168
168
  constructor(toAdd: IExtension[], toRemove: string[] | IExtension[]);
169
169
  }
170
170
  export declare function isResolverExtension(extension: IExtensionDescription): boolean;
171
+ /**
172
+ * @argument extensions The extensions to be checked.
173
+ * @argument ignoreWorkspaceTrust Do not take workspace trust into account.
174
+ */
171
175
  export declare function checkEnabledAndProposedAPI(logService: ILogService, extensionEnablementService: IWorkbenchExtensionEnablementService, extensionsProposedApi: ExtensionsProposedApi, extensions: IExtensionDescription[], ignoreWorkspaceTrust: boolean): IExtensionDescription[];
176
+ /**
177
+ * Return the subset of extensions that are enabled.
178
+ * @argument ignoreWorkspaceTrust Do not take workspace trust into account.
179
+ */
172
180
  export declare function filterEnabledExtensions(logService: ILogService, extensionEnablementService: IWorkbenchExtensionEnablementService, extensions: IExtensionDescription[], ignoreWorkspaceTrust: boolean): IExtensionDescription[];
181
+ /**
182
+ * @argument extension The extension to be checked.
183
+ * @argument ignoreWorkspaceTrust Do not take workspace trust into account.
184
+ */
173
185
  export declare function extensionIsEnabled(logService: ILogService, extensionEnablementService: IWorkbenchExtensionEnablementService, extension: IExtensionDescription, ignoreWorkspaceTrust: boolean): boolean;
174
186
  export declare class ExtensionStatus {
175
187
  readonly id: ExtensionIdentifier;
@@ -196,6 +208,10 @@ export declare class ExtensionHostCrashTracker {
196
208
  registerCrash(): void;
197
209
  shouldAutomaticallyRestart(): boolean;
198
210
  }
211
+ /**
212
+ * This can run correctly only on the renderer process because that is the only place
213
+ * where all extension points and all implicit activation events generators are known.
214
+ */
199
215
  export declare class ImplicitActivationAwareReader implements IActivationEventsReader {
200
216
  readActivationEvents(extensionDescription: IExtensionDescription): string[];
201
217
  }
@@ -25,6 +25,9 @@ export declare class ExtensionHostManager extends Disposable implements IExtensi
25
25
  ]>;
26
26
  private readonly _onDidChangeResponsiveState;
27
27
  readonly onDidChangeResponsiveState: Event<ResponsiveState>;
28
+ /**
29
+ * A map of already requested activation events to speed things up if the same activation event is triggered multiple times.
30
+ */
28
31
  private readonly _cachedActivationEvents;
29
32
  private readonly _resolvedActivationEvents;
30
33
  private _rpcProtocol;
@@ -28,6 +28,9 @@ export interface IExtensionHostManager {
28
28
  activationEventIsDone(activationEvent: string): boolean;
29
29
  getInspectPort(tryEnableInspector: boolean): Promise<IExtensionInspectInfo | undefined>;
30
30
  resolveAuthority(remoteAuthority: string, resolveAttempt: number): Promise<IResolveAuthorityResult>;
31
+ /**
32
+ * Returns `null` if no resolver for `remoteAuthority` is found.
33
+ */
31
34
  getCanonicalURI(remoteAuthority: string, uri: URI): Promise<URI | null>;
32
35
  start(extensionRegistryVersionId: number, allExtensions: readonly IExtensionDescription[], myExtensions: ExtensionIdentifier[]): Promise<void>;
33
36
  extensionTestsExecute(): Promise<number>;
@@ -31,7 +31,13 @@ export declare class ExtensionRunningLocationTracker {
31
31
  computeRunningLocation(localExtensions: IExtensionDescription[], remoteExtensions: IExtensionDescription[], isInitialAllocation: boolean): ExtensionIdentifierMap<ExtensionRunningLocation | null>;
32
32
  private _doComputeRunningLocation;
33
33
  initializeRunningLocation(localExtensions: IExtensionDescription[], remoteExtensions: IExtensionDescription[]): void;
34
+ /**
35
+ * Returns the running locations for the removed extensions.
36
+ */
34
37
  deltaExtensions(toAdd: IExtensionDescription[], toRemove: ExtensionIdentifier[]): ExtensionIdentifierMap<ExtensionRunningLocation | null>;
38
+ /**
39
+ * Update `this._runningLocation` with running locations for newly enabled/installed extensions.
40
+ */
35
41
  private _updateRunningLocationForAddedExtensions;
36
42
  }
37
43
  export declare function filterExtensionDescriptions(extensions: readonly IExtensionDescription[], runningLocation: ExtensionIdentifierMap<ExtensionRunningLocation | null>, predicate: (extRunningLocation: ExtensionRunningLocation) => boolean): IExtensionDescription[];
@@ -1,2 +1,7 @@
1
1
  import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
2
+ /**
3
+ * An extension storage has following
4
+ * - State: Stored using storage service with extension id as key and state as value.
5
+ * - Resources: Stored under a location scoped to the extension.
6
+ */
2
7
  export declare function migrateExtensionStorage(fromExtensionId: string, toExtensionId: string, global: boolean, instantionService: IInstantiationService): Promise<void>;
@@ -11,6 +11,9 @@ import { IResolveAuthorityResult } from "@codingame/monaco-vscode-api/vscode/vs/
11
11
  import { ExtensionRunningLocation } from "@codingame/monaco-vscode-571c8352-7953-5038-9f09-e03bb6219a0e-common/vscode/vs/workbench/services/extensions/common/extensionRunningLocation";
12
12
  import { ActivationKind, ExtensionActivationReason, ExtensionHostStartup, IExtensionHost, IExtensionInspectInfo, IInternalExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions";
13
13
  import { ResponsiveState } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/rpcProtocol";
14
+ /**
15
+ * Waits until `start()` and only if it has extensions proceeds to really start.
16
+ */
14
17
  export declare class LazyCreateExtensionHostManager extends Disposable implements IExtensionHostManager {
15
18
  private readonly _initialActivationEvents;
16
19
  private readonly _internalExtensionService;