Merge from vscode 4d91d96e5e121b38d33508cdef17868bab255eae

This commit is contained in:
ADS Merger
2020-06-18 04:32:54 +00:00
committed by AzureDataStudio
parent a971aee5bd
commit 5e7071e466
1002 changed files with 24201 additions and 13193 deletions

View File

@@ -17,6 +17,7 @@ import { Event, Emitter } from 'vs/base/common/event';
import { Disposable, IDisposable } from 'vs/base/common/lifecycle';
import { IWorkspaceProvider, IWorkspace } from 'vs/workbench/services/host/browser/browserHostService';
import { CommandsRegistry } from 'vs/platform/commands/common/commands';
import { IProductConfiguration } from 'vs/platform/product/common/productService';
interface IResourceUriProvider {
(uri: URI): URI;
@@ -25,6 +26,7 @@ interface IResourceUriProvider {
interface IStaticExtension {
packageJSON: IExtensionManifest;
extensionLocation: URI;
isBuiltin?: boolean;
}
interface ICommontTelemetryPropertiesResolver {
@@ -161,14 +163,22 @@ interface IDefaultPanelLayout {
})[];
}
interface IDefaultView {
readonly id: string;
}
interface IDefaultEditor {
readonly uri: UriComponents;
readonly openOnlyIfExists?: boolean;
readonly openWith?: string;
}
interface IDefaultLayout {
/** @deprecated Use views instead */
readonly sidebar?: IDefaultSideBarLayout;
/** @deprecated Use views instead */
readonly panel?: IDefaultPanelLayout;
readonly views?: IDefaultView[];
readonly editors?: IDefaultEditor[];
}
@@ -273,15 +283,25 @@ interface IWorkbenchConstructionOptions {
*/
readonly commands?: readonly ICommand[];
/**
* Optional default layout to apply on first time the workspace is opened.
*/
readonly defaultLayout?: IDefaultLayout;
//#endregion
//#region Branding
/**
* Optional home indicator to appear above the hamburger menu in the activity bar.
*/
readonly homeIndicator?: IHomeIndicator;
/**
* Optional default layout to apply on first time the workspace is opened.
* Optional override for the product configuration properties.
*/
readonly defaultLayout?: IDefaultLayout;
readonly productConfiguration?: Partial<IProductConfiguration>;
//#endregion
@@ -429,14 +449,16 @@ export {
ICommand,
commands,
// Home Indicator
// Branding
IHomeIndicator,
IProductConfiguration,
// Default layout
IDefaultView,
IDefaultEditor,
IDefaultLayout,
IDefaultPanelLayout,
IDefaultSideBarLayout,
IDefaultSideBarLayout
};
//#endregion