diff options
author | jeanp413 <jeanp413@hotmail.com> | 2021-11-11 18:43:47 +0300 |
---|---|---|
committer | jeanp413 <jeanp413@hotmail.com> | 2021-11-18 00:06:17 +0300 |
commit | 6403829441b0e6eba0682e701a80c287e3b12c55 (patch) | |
tree | bbc30b8a15369b359268510847be66d2ad619e22 /src/vs/workbench/contrib/extensions/common | |
parent | e82ec6bee1118a00ec18ce3cf01886f68b07ee5a (diff) |
disable auto update when installing a specific version of extension
Diffstat (limited to 'src/vs/workbench/contrib/extensions/common')
-rw-r--r-- | src/vs/workbench/contrib/extensions/common/extensions.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vs/workbench/contrib/extensions/common/extensions.ts b/src/vs/workbench/contrib/extensions/common/extensions.ts index fdbd7ae29ce..9a91536e26d 100644 --- a/src/vs/workbench/contrib/extensions/common/extensions.ts +++ b/src/vs/workbench/contrib/extensions/common/extensions.ts @@ -10,7 +10,7 @@ import { IQueryOptions, ILocalExtension, IGalleryExtension, IExtensionIdentifier import { EnablementState, IExtensionManagementServer } from 'vs/workbench/services/extensionManagement/common/extensionManagement'; import { CancellationToken } from 'vs/base/common/cancellation'; import { Disposable } from 'vs/base/common/lifecycle'; -import { areSameExtensions } from 'vs/platform/extensionManagement/common/extensionManagementUtil'; +import { areSameExtensions, ExtensionIdentifierWithVersion } from 'vs/platform/extensionManagement/common/extensionManagementUtil'; import { IExtensionManifest, ExtensionType } from 'vs/platform/extensions/common/extensions'; import { URI } from 'vs/base/common/uri'; import { IView, IViewPaneContainer } from 'vs/workbench/common/views'; @@ -99,6 +99,7 @@ export interface IExtensionsWorkbenchService { open(extension: IExtension, options?: { sideByside?: boolean, preserveFocus?: boolean, pinned?: boolean, tab?: string }): Promise<void>; checkForUpdates(): Promise<void>; getExtensionStatus(extension: IExtension): IExtensionsStatus | undefined; + ignoreAutoUpdate(identifierWithVersion: ExtensionIdentifierWithVersion): void; // Sync APIs isExtensionIgnoredToSync(extension: IExtension): boolean; |