mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 09:35:39 -05:00
Merge from vscode 4d91d96e5e121b38d33508cdef17868bab255eae
This commit is contained in:
committed by
AzureDataStudio
parent
a971aee5bd
commit
5e7071e466
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user