From f13162b443b374d11168165b222ca1222b954480 Mon Sep 17 00:00:00 2001 From: Dan Arad Date: Sun, 7 Mar 2021 13:25:24 +0200 Subject: [PATCH] 8969-upgrade-monaco-editor-core-to-standalone-0.23.x In preparation for upgrading monaco-editor-core to standalone/0.23.x these changes were implemented: 1) signatures alignment to standalone/0.23.x 2) editor preferences synced with standalone/0.23.x --- .../editor/src/browser/editor-preferences.ts | 12 +- packages/monaco/src/typings/monaco/index.d.ts | 398 +++++++++--------- 2 files changed, 205 insertions(+), 205 deletions(-) diff --git a/packages/editor/src/browser/editor-preferences.ts b/packages/editor/src/browser/editor-preferences.ts index c334e5dd3e337..9bfb7ba1dc289 100644 --- a/packages/editor/src/browser/editor-preferences.ts +++ b/packages/editor/src/browser/editor-preferences.ts @@ -35,7 +35,7 @@ const platform = { isLinux: OS.type() === OS.Type.Linux }; -// should be in sync with https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/config/editorOptions.ts#L3679 +// should be in sync with https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/config/editorOptions.ts#L3687 export const EDITOR_FONT_DEFAULTS = { fontFamily: ( isOSX ? DEFAULT_MAC_FONT_FAMILY : (isWindows ? DEFAULT_WINDOWS_FONT_FAMILY : DEFAULT_LINUX_FONT_FAMILY) @@ -48,7 +48,7 @@ export const EDITOR_FONT_DEFAULTS = { letterSpacing: 0, }; -// should be in sync with https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/config/editorOptions.ts#L3694 +// should be in sync with https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/config/editorOptions.ts#L3702 export const EDITOR_MODEL_DEFAULTS = { tabSize: 4, indentSize: 4, @@ -64,11 +64,11 @@ export const DEFAULT_WORD_SEPARATORS = '`~!@#$%^&*()-=+[{]}\\|;:\'",.<>/?'; /* eslint-disable no-null/no-null */ // should be in sync with: -// 1. https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/config/commonEditorConfig.ts#L458 -// 2. https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/config/commonEditorConfig.ts#L577 +// 1. https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/config/commonEditorConfig.ts#L458 +// 2. https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/config/commonEditorConfig.ts#L577 -// 1. Copy from https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/config/commonEditorConfig.ts#L577 -// 2. Align first items with https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/config/commonEditorConfig.ts#L458 +// 1. Copy from https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/config/commonEditorConfig.ts#L577 +// 2. Align first items with https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/config/commonEditorConfig.ts#L458 // 3. Find -> Use Regular Expressions to clean up data and replace " by ', for example -> nls\.localize\(.*, "(.*)"\) -> "$1" // 4. Apply `quotemark` quick fixes // 5. Fix the rest manually diff --git a/packages/monaco/src/typings/monaco/index.d.ts b/packages/monaco/src/typings/monaco/index.d.ts index da6e280119b4d..ef93f7e49a98a 100644 --- a/packages/monaco/src/typings/monaco/index.d.ts +++ b/packages/monaco/src/typings/monaco/index.d.ts @@ -62,7 +62,7 @@ declare module monaco.format { } declare module monaco.instantiation { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/instantiation/common/instantiation.ts#L86 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/instantiation/common/instantiation.ts#L86 export interface IInstantiationService { invokeFunction: (fn: any, ...args: any) => any } @@ -102,7 +102,7 @@ declare module monaco.editor { removeDecorations(decorationTypeKey: string): void; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/undoRedo/common/undoRedo.ts#L92-L111 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/undoRedo/common/undoRedo.ts#L92-L111 export class UndoRedoSource { private static _ID = 0; @@ -124,7 +124,7 @@ declare module monaco.editor { public static None = new UndoRedoSource(); } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/services/bulkEditService.ts#L67 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/services/bulkEditService.ts#L67 export interface IBulkEditOptions { editor?: ICodeEditor; progress?: IProgress; @@ -137,22 +137,22 @@ declare module monaco.editor { confirmBeforeUndo?: boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/services/bulkEditService.ts#L79 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/services/bulkEditService.ts#L79 export interface IBulkEditResult { ariaSummary: string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/services/bulkEditService.ts#L83 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/services/bulkEditService.ts#L83 export type IBulkEditPreviewHandler = (edit: monaco.languages.WorkspaceEdit, options?: IBulkEditOptions) => Promise; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/services/bulkEditService.ts#L85 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/services/bulkEditService.ts#L85 export interface IBulkEditService { apply(edit: monaco.languages.WorkspaceEdit, options?: IBulkEditOptions): Promise; hasPreviewHandler(): boolean; setPreviewHandler(handler: IBulkEditPreviewHandler): monaco.IDisposable; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/widget/diffNavigator.ts#L43 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/widget/diffNavigator.ts#L43 export interface IDiffNavigator { readonly ranges: IDiffRange[]; readonly nextIdx: number; @@ -160,12 +160,12 @@ declare module monaco.editor { _initIdx(fwd: boolean): void; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/widget/diffNavigator.ts#L16 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/widget/diffNavigator.ts#L16 export interface IDiffRange { readonly range: Range; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/standalone/browser/standaloneCodeEditor.ts#L227 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/standalone/browser/standaloneCodeEditor.ts#L245 export interface IStandaloneCodeEditor extends CommonCodeEditor { setDecorations(decorationTypeKey: string, ranges: IDecorationOptions[]): void; setDecorationsFast(decorationTypeKey: string, ranges: IRange[]): void; @@ -179,7 +179,7 @@ declare module monaco.editor { } } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/widget/codeEditorWidget.ts#L105 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/widget/codeEditorWidget.ts#L107 export interface CommonCodeEditor { readonly _commandService: monaco.commands.ICommandService; readonly _instantiationService: monaco.instantiation.IInstantiationService; @@ -196,50 +196,50 @@ declare module monaco.editor { } | null; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/codeAction/codeActionCommands.ts#L68 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/codeAction/codeActionCommands.ts#L68 export interface QuickFixController { readonly _ui: { rawValue?: CodeActionUi } } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/codeAction/codeActionUi.ts#L21 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/codeAction/codeActionUi.ts#L21 export interface CodeActionUi { readonly _lightBulbWidget: { rawValue?: LightBulbWidget } } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/codeAction/lightBulbWidget.ts#L48 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/codeAction/lightBulbWidget.ts#L48 export interface LightBulbWidget { readonly _domNode: HTMLDivElement; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/codelens/codelensController.ts#L28 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/codelens/codelensController.ts#L28 export interface CodeLensContribution { readonly _lenses: CodeLensWidget[]; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/codelens/codelensWidget.ts#L178 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/codelens/codelensWidget.ts#L178 export interface CodeLensWidget { readonly _contentWidget?: CodeLensContentWidget; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/codelens/codelensWidget.ts#L49 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/codelens/codelensWidget.ts#L49 export interface CodeLensContentWidget { readonly _domNode: HTMLElement; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/hover/hover.ts#L30 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/hover/hover.ts#L30 export interface ModesHoverController { readonly contentWidget: ModesContentHoverWidget; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/hover/modesContentHover.ts#L173 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/hover/modesContentHover.ts#L177 export interface ModesContentHoverWidget { readonly isVisible: boolean; readonly _domNode: HTMLElement; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/controller/cursor.ts#L122 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/controller/cursor.ts#L122 export interface ICursor { trigger(source: string, handlerId: string, payload: any): void; } @@ -253,7 +253,7 @@ declare module monaco.editor { contextKeyService?: monaco.contextKeyService.IContextKeyService; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/editor/common/editor.ts#L68 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/editor/common/editor.ts#L68 export interface IResourceInput { resource: monaco.Uri; options?: IResourceInputOptions; @@ -264,23 +264,23 @@ declare module monaco.editor { * Tells the editor to not receive keyboard focus when the editor is being opened. By default, * the editor will receive keyboard focus on open. */ - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/editor/common/editor.ts#L137 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/editor/common/editor.ts#L150 readonly preserveFocus?: boolean; /** * Will reveal the editor if it is already opened and visible in any of the opened editor groups. */ - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/editor/common/editor.ts#L162 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/editor/common/editor.ts#L175 readonly revealIfVisible?: boolean; /** * Text editor selection. */ - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/editor/common/editor.ts#L257 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/editor/common/editor.ts#L270 readonly selection?: Partial; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/services/codeEditorService.ts#L16 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/services/codeEditorService.ts#L16 export interface ICodeEditorService { getActiveCodeEditor(): monaco.editor.ICodeEditor | undefined; openCodeEditor(input: monaco.editor.IResourceInput, source?: monaco.editor.ICodeEditor, sideBySide?: boolean): Promise; @@ -289,12 +289,12 @@ declare module monaco.editor { resolveDecorationOptions(typeKey: string, writable: boolean): IModelDecorationOptions; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/lifecycle.ts#L257 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/lifecycle.ts#L253 export interface IReference extends monaco.IDisposable { readonly object: T; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/services/resolverService.ts#L14 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/services/resolverService.ts#L14 export interface ITextModelService { /** * Provided a resource URI, it will return a model reference @@ -308,7 +308,7 @@ declare module monaco.editor { registerTextModelContentProvider(scheme: string, provider: ITextModelContentProvider): monaco.IDisposable; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/services/resolverService.ts#L34 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/services/resolverService.ts#L34 export interface ITextModelContentProvider { /** * Given a resource, return the content of the resource as IModel. @@ -316,8 +316,8 @@ declare module monaco.editor { provideTextContent(resource: monaco.Uri): Promise | null; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/services/resolverService.ts#L42 && - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/editor/common/editor.ts#L9 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/services/resolverService.ts#L42 && + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/editor/common/editor.ts#L9 export interface ITextEditorModel { readonly onDispose: monaco.IEvent; /** @@ -335,7 +335,7 @@ declare module monaco.editor { textEditorModel: monaco.editor.IModel; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/browser/contextmenu.ts#L17 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/browser/contextmenu.ts#L18 export interface IContextMenuDelegate { /** * Returns with an HTML element or the client coordinates as the anchor of the context menu to open. @@ -353,7 +353,7 @@ declare module monaco.editor { onHide(wasCancelled: boolean): void } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/actions.ts#L26 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/actions.ts#L26 export interface IAction extends IDisposable { readonly id: string; label: string; @@ -364,7 +364,7 @@ declare module monaco.editor { run(event?: any): Promise; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/contextview/browser/contextView.ts#L39 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/contextview/browser/contextView.ts#L39 export interface IContextMenuService { /** * Shows the native Monaco context menu in the editor. @@ -372,26 +372,26 @@ declare module monaco.editor { showContextMenu(delegate: IContextMenuDelegate): void; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/editorCommon.ts#L680 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/editorCommon.ts#L680 export interface IDecorationOptions { range: IRange; hoverMessage?: IMarkdownString | IMarkdownString[]; renderOptions?: IDecorationInstanceRenderOptions; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/editorCommon.ts#L664 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/editorCommon.ts#L664 export interface IThemeDecorationInstanceRenderOptions { before?: IContentDecorationRenderOptions; after?: IContentDecorationRenderOptions; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/editorCommon.ts#L672 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/editorCommon.ts#L672 export interface IDecorationInstanceRenderOptions extends IThemeDecorationInstanceRenderOptions { light?: IThemeDecorationInstanceRenderOptions; dark?: IThemeDecorationInstanceRenderOptions; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/editorCommon.ts#L628 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/editorCommon.ts#L628 export interface IContentDecorationRenderOptions { contentText?: string; contentIconPath?: UriComponents; @@ -410,7 +410,7 @@ declare module monaco.editor { height?: string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/editorCommon.ts#L652 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/editorCommon.ts#L652 export interface IDecorationRenderOptions extends IThemeDecorationRenderOptions { isWholeLine?: boolean; rangeBehavior?: TrackedRangeStickiness; @@ -420,7 +420,7 @@ declare module monaco.editor { dark?: IThemeDecorationRenderOptions; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/editorCommon.ts#L592 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/editorCommon.ts#L592 export interface IThemeDecorationRenderOptions { backgroundColor?: string | ThemeColor; @@ -453,7 +453,7 @@ declare module monaco.editor { after?: IContentDecorationRenderOptions; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/model.ts#L522 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/model.ts#L522 export interface ITextSnapshot { read(): string | null; } @@ -464,17 +464,17 @@ declare module monaco.editor { * The tokens might be inaccurate. Use `forceTokenization` to ensure accurate tokens. * @internal */ - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/model.ts#L890 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/model.ts#L890 getLineTokens(lineNumber: number): LineTokens; /** * Force tokenization information for `lineNumber` to be accurate. * @internal */ - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/model.ts#L869 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/model.ts#L869 forceTokenization(lineNumber: number): void; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/model.ts#L617 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/model.ts#L617 createSnapshot(): ITextSnapshot | null; } @@ -482,18 +482,18 @@ declare module monaco.editor { declare module monaco.commands { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/commands/common/commands.ts#L60 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/commands/common/commands.ts#L60 export const CommandsRegistry: { getCommands(): Map any }>; }; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/commands/common/commands.ts#L16 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/commands/common/commands.ts#L16 export interface ICommandEvent { commandId: string; args: any[]; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/commands/common/commands.ts#L21 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/commands/common/commands.ts#L21 export interface ICommandService { onWillExecuteCommand: monaco.Event; onDidExecuteCommand: monaco.Event; @@ -504,13 +504,13 @@ declare module monaco.commands { declare module monaco.actions { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/actions/common/actions.ts#L21 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/actions/common/actions.ts#L21 export interface ILocalizedString { value: string; original: string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/actions/common/actions.ts#L41 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/actions/common/actions.ts#L41 export interface ICommandAction { id: string; title: string | ILocalizedString; @@ -520,7 +520,7 @@ declare module monaco.actions { toggled?: monaco.contextkey.ContextKeyExpr; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/actions/common/actions.ts#L53 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/actions/common/actions.ts#L53 export interface IMenuItem { command: ICommandAction; when?: monaco.contextkey.ContextKeyExpr; @@ -529,7 +529,7 @@ declare module monaco.actions { alt?: ICommandAction; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/actions/common/actions.ts#L61 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/actions/common/actions.ts#L61 export interface ISubmenuItem { title: string | ILocalizedString; submenu: number; // enum MenuId @@ -538,30 +538,30 @@ declare module monaco.actions { order?: number; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/actions/common/actions.ts#L186 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/actions/common/actions.ts#L191 export interface IMenuRegistry { /** * Retrieves all the registered menu items for the given menu. - * @param menuId - see https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/actions/common/actions.ts#L89 + * @param menuId - see https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/actions/common/actions.ts#L89 */ getMenuItems(menuId: 7 /* EditorContext */ | 8 /* EditorContextPeek */ | 25 /* MenubarSelectionMenu */): IMenuItem | ISubmenuItem[]; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/actions/common/actions.ts#L70 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/actions/common/actions.ts#L70 export function isIMenuItem(item: IMenuItem | ISubmenuItem): item is IMenuItem; /** * The shared menu registry singleton. */ - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/actions/common/actions.ts#L197 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/actions/common/actions.ts#L202 export const MenuRegistry: IMenuRegistry; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/actions/common/actions.ts#L355 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/actions/common/actions.ts#L356 export class MenuItemAction { } } declare module monaco.platform { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/platform.ts#L245 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/platform.ts#L245 export const enum OperatingSystem { Windows = 1, Macintosh = 2, @@ -572,12 +572,12 @@ declare module monaco.platform { declare module monaco.keybindings { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/keybinding/common/keybindingResolver.ts#L19 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/keybinding/common/keybindingResolver.ts#L19 export class KeybindingResolver { static contextMatchesRules(context: monaco.contextKeyService.IContext, rules: monaco.contextkey.ContextKeyExpr | null | undefined): boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keyCodes.ts#L443 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keyCodes.ts#L443 export class SimpleKeybinding { public readonly ctrlKey: boolean; public readonly shiftKey: boolean; @@ -589,22 +589,22 @@ declare module monaco.keybindings { toChord(): ChordKeybinding; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keyCodes.ts#L503 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keyCodes.ts#L503 export class ChordKeybinding { readonly parts: SimpleKeybinding[]; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keyCodes.ts#L540 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keyCodes.ts#L540 export type Keybinding = ChordKeybinding; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/keybinding/common/keybindingsRegistry.ts#L12 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/keybinding/common/keybindingsRegistry.ts#L12 export interface IKeybindingItem { keybinding: Keybinding; command: string; when?: monaco.contextkey.ContextKeyExpr; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/keybinding/common/keybindingsRegistry.ts#L73 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/keybinding/common/keybindingsRegistry.ts#L73 export interface IKeybindingsRegistry { /** * Returns with all the default, static keybindings. @@ -612,10 +612,10 @@ declare module monaco.keybindings { getDefaultKeybindings(): IKeybindingItem[]; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/keybinding/common/keybindingsRegistry.ts#L243 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/keybinding/common/keybindingsRegistry.ts#L243 export const KeybindingsRegistry: IKeybindingsRegistry; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keyCodes.ts#L542 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keyCodes.ts#L542 export class ResolvedKeybindingPart { readonly ctrlKey: boolean; readonly shiftKey: boolean; @@ -628,7 +628,7 @@ declare module monaco.keybindings { constructor(ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean, kbLabel: string | null, kbAriaLabel: string | null); } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keyCodes.ts#L564 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keyCodes.ts#L564 export abstract class ResolvedKeybinding { public abstract getLabel(): string | null; public abstract getAriaLabel(): string | null; @@ -640,12 +640,12 @@ declare module monaco.keybindings { public abstract getDispatchParts(): (string | null)[]; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.ts#L13 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.ts#L13 export class USLayoutResolvedKeybinding { public static getDispatchStr(keybinding: SimpleKeybinding): string | null; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keybindingLabels.ts#L17 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keybindingLabels.ts#L17 export interface Modifiers { readonly ctrlKey: boolean; readonly shiftKey: boolean; @@ -653,76 +653,76 @@ declare module monaco.keybindings { readonly metaKey: boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keybindingLabels.ts#L24 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keybindingLabels.ts#L24 export interface KeyLabelProvider { (keybinding: T): string | null; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keybindingLabels.ts#L28 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keybindingLabels.ts#L28 export interface ModifierLabelProvider { toLabel(OS: monaco.platform.OperatingSystem, parts: T[], keyLabelProvider: KeyLabelProvider): string | null; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keybindingLabels.ts#L61 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keybindingLabels.ts#L61 export const UILabelProvider: ModifierLabelProvider; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keybindingLabels.ts#L88 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keybindingLabels.ts#L88 export const AriaLabelProvider: ModifierLabelProvider; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keybindingLabels.ts#L116 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keybindingLabels.ts#L116 export const ElectronAcceleratorLabelProvider: ModifierLabelProvider; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/keybindingLabels.ts#L136 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/keybindingLabels.ts#L136 export const UserSettingsLabelProvider: ModifierLabelProvider; } declare module monaco.services { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/standalone/browser/standaloneLanguages.ts#L107 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/standalone/browser/standaloneLanguages.ts#L107 export class TokenizationSupport2Adapter implements monaco.modes.ITokenizationSupport { constructor(standaloneThemeService: IStandaloneThemeService, languageIdentifier: LanguageIdentifier, actual: monaco.languages.TokensProvider) tokenize(line: string, state: monaco.languages.IState, offsetDelta: number): any; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/services/resolverService.ts#L12 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/services/resolverService.ts#L12 export const ITextModelService: any; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/opener/common/opener.ts#L15 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/opener/common/opener.ts#L15 export interface OpenInternalOptions { readonly openToSide?: boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/opener/common/opener.ts#L35 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/opener/common/opener.ts#L35 export interface OpenExternalOptions { readonly openExternal?: boolean } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/opener/common/opener.ts#L49 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/opener/common/opener.ts#L49 export interface IOpener { open(resource: monaco.Uri | string, options?: OpenInternalOptions | OpenExternalOptions): Promise; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/services/openerService.ts#L94 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/services/openerService.ts#L94 export class OpenerService { constructor(editorService: monaco.editor.ICodeEditorService, commandService: monaco.commands.ICommandService); registerOpener(opener: IOpener): monaco.IDisposable; open(resource: monaco.Uri | string, options?: OpenInternalOptions & OpenExternalOptions): Promise; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/services/codeEditorService.ts#L14 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/services/codeEditorService.ts#L14 export const ICodeEditorService: any; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/configuration/common/configuration.ts#L16 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/configuration/common/configuration.ts#L16 export const IConfigurationService: any; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/configuration/common/configurationModels.ts#L377 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/configuration/common/configurationModels.ts#L377 export interface Configuration { getValue(section: string | undefined, overrides: any, workspace: any | undefined): any; toData(): any; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/configuration/common/configuration.ts#L30-L38 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/configuration/common/configuration.ts#L30-L38 export const enum ConfigurationTarget { USER = 1, USER_LOCAL, @@ -733,13 +733,13 @@ declare module monaco.services { MEMORY } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/configuration/common/configuration.ts#L51 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/configuration/common/configuration.ts#L51 export interface IConfigurationChange { keys: string[]; overrides: [string, string[]][]; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/configuration/common/configuration.ts#L56 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/configuration/common/configuration.ts#L56 export class IConfigurationChangeEvent { readonly source: ConfigurationTarget; @@ -749,24 +749,24 @@ declare module monaco.services { affectsConfiguration(configuration: string, overrides?: IConfigurationOverrides): boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/configuration/common/configuration.ts#L25 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/configuration/common/configuration.ts#L25 export interface IConfigurationOverrides { overrideIdentifier?: string | null; resource?: monaco.Uri | null; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/standalone/browser/simpleServices.ts#L435 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/standalone/browser/simpleServices.ts#L445 export interface IConfigurationService { _onDidChangeConfiguration: monaco.Emitter; _configuration: Configuration; } - // https://github.com/microsoft/vscode/blob/standalone/0.22.x/src/vs/editor/common/services/textResourceConfigurationService.ts#L71 + // https://github.com/microsoft/vscode/blob/standalone/0.23.x/src/vs/editor/common/services/textResourceConfigurationService.ts#L71 export interface ITextResourcePropertiesService { getEOL(resource: monaco.Uri | undefined, language?: string): string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/services/codeEditorServiceImpl.ts#L84 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/services/codeEditorServiceImpl.ts#L84 export abstract class CodeEditorServiceImpl implements monaco.editor.ICodeEditorService { constructor(themeService: IStandaloneThemeService); abstract getActiveCodeEditor(): monaco.editor.ICodeEditor | undefined; @@ -782,7 +782,7 @@ declare module monaco.services { getFocusedCodeEditor(): monaco.editor.ICodeEditor | undefined; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/standalone/browser/simpleServices.ts#L264 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/standalone/browser/simpleServices.ts#L264 export class StandaloneCommandService implements monaco.commands.ICommandService { constructor(instantiationService: monaco.instantiation.IInstantiationService); private readonly _onWillExecuteCommand: monaco.Emitter; @@ -792,12 +792,12 @@ declare module monaco.services { executeCommand(commandId: string, ...args: any[]): Promise; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/standalone/browser/standaloneServices.ts#L66 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/standalone/browser/standaloneServices.ts#L66 export class LazyStaticService { get(overrides?: monaco.editor.IEditorOverrideServices): T; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/themeService.ts#L89 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/themeService.ts#L86 export interface ITokenStyle { readonly foreground?: number; readonly bold?: boolean; @@ -805,55 +805,55 @@ declare module monaco.services { readonly italic?: boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/standalone/common/standaloneThemeService.ts#L29 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/standalone/common/standaloneThemeService.ts#L29 export interface IStandaloneThemeService extends monaco.theme.IThemeService { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/standalone/browser/standaloneThemeServiceImpl.ts#L200 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/standalone/browser/standaloneThemeServiceImpl.ts#L200 readonly _knownThemes: Map; getTheme(): IStandaloneTheme; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/standalone/common/standaloneThemeService.ts#L24 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/standalone/common/standaloneThemeService.ts#L24 export interface IStandaloneTheme { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/standalone/browser/standaloneThemeServiceImpl.ts#L33 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/standalone/browser/standaloneThemeServiceImpl.ts#L33 themeData: monaco.editor.IStandaloneThemeData tokenTheme: TokenTheme; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/themeService.ts#L108 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/themeService.ts#L105 getColor(color: string, useDefault?: boolean): monaco.color.Color | undefined; getTokenStyleMetadata(type: string, modifiers: string[], modelLanguage: string): ITokenStyle | undefined; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes/supports/tokenization.ts#L188 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes/supports/tokenization.ts#L188 export interface TokenTheme { match(languageId: LanguageId, scope: string): number; _match(token: string): any; getColorMap(): monaco.color.Color[]; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes.ts#L27 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes.ts#L27 export const enum LanguageId { Null = 0, PlainText = 1 } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes.ts#L35 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes.ts#L35 export class LanguageIdentifier { public readonly id: LanguageId; readonly language: string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes.ts#L58 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes.ts#L58 export interface IMode { getId(): string; getLanguageIdentifier(): LanguageIdentifier; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/services/modeService.ts#L30 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/services/modeService.ts#L30 export interface IModeService { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/services/modeServiceImpl.ts#L46 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/services/modeServiceImpl.ts#L46 private readonly _instantiatedModes: { [modeId: string]: IMode; }; private readonly _onLanguagesMaybeChanged: Emitter; readonly onDidCreateMode: monaco.IEvent; @@ -861,17 +861,17 @@ declare module monaco.services { getLanguageIdentifier(modeId: string | LanguageId): LanguageIdentifier | null; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/services/modeService.ts#L25 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/services/modeService.ts#L25 export interface ILanguageSelection { readonly languageIdentifier: LanguageIdentifier; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/instantiation/common/serviceCollection.ts#L9 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/instantiation/common/serviceCollection.ts#L9 export interface ServiceCollection { set(id: any, instanceOrDescriptor: T): T; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/markers/common/markers.ts#L12 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/markers/common/markers.ts#L12 export interface IMarkerService { read(filter?: { owner?: string; resource?: monaco.Uri; severities?: number, take?: number; }): editor.IMarker[]; } @@ -882,12 +882,12 @@ declare module monaco.services { updateModel(model: monaco.editor.ITextModel, value: string | monaco.editor.ITextBufferFactory): void; } - // https://github.com/microsoft/vscode/blob/standalone/0.22.x/src/vs/editor/common/services/editorWorkerService.ts#L21 + // https://github.com/microsoft/vscode/blob/standalone/0.23.x/src/vs/editor/common/services/editorWorkerService.ts#L21 export interface IEditorWorkerService { computeMoreMinimalEdits(resource: monaco.Uri, edits: monaco.languages.TextEdit[] | null | undefined): Promise; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/standalone/browser/standaloneServices.ts#L62 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/standalone/browser/standaloneServices.ts#L62 export module StaticServices { export function init(overrides: monaco.editor.IEditorOverrideServices): [ServiceCollection, monaco.instantiation.IInstantiationService]; export const standaloneThemeService: LazyStaticService; @@ -903,21 +903,21 @@ declare module monaco.services { } declare module monaco.theme { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/themeService.ts#L96 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/themeService.ts#L93 export interface ITheme { } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/themeService.ts#L146 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/themeService.ts#L143 export interface IThemeService { readonly onThemeChange: monaco.IEvent; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/styler.ts#L10 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/styler.ts#L10 export interface IThemable { } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/styler.ts#L170 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/styler.ts#L171 export function attachQuickOpenStyler(widget: IThemable, themeService: IThemeService): monaco.IDisposable; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/themeService.ts#L38 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/themeService.ts#L38 export interface ThemeIcon { readonly id: string; } @@ -929,7 +929,7 @@ declare module monaco.theme { declare module monaco.color { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/color.ts#L13 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/color.ts#L13 export class RGBA { readonly r: number; readonly g: number; @@ -939,7 +939,7 @@ declare module monaco.color { constructor(r: number, g: number, b: number, a?: number); } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/color.ts#L48 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/color.ts#L48 export class HSLA { readonly h: number; readonly s: number; @@ -949,65 +949,65 @@ declare module monaco.color { constructor(h: number, s: number, l: number, a: number); } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/color.ts#L256 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/color.ts#L256 export class Color { readonly rgba: RGBA; constructor(arg: RGBA | HSLA); } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/colorRegistry.ts#L19 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/colorRegistry.ts#L19 export interface ColorContribution { readonly id: string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/colorRegistry.ts#L28 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/colorRegistry.ts#L28 export type ColorFunction = (theme: monaco.theme.ITheme) => Color | undefined; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/colorRegistry.ts#L42 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/colorRegistry.ts#L41 export type ColorValue = string | Color | ColorFunction; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/colorRegistry.ts#L32 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/colorRegistry.ts#L32 export interface ColorDefaults { light?: ColorValue; dark?: ColorValue; hc?: ColorValue; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/colorRegistry.ts#L48 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/colorRegistry.ts#L48 export interface IColorRegistry { getColors(): ColorContribution[]; registerColor(id: string, defaults: ColorDefaults | undefined, description: string): string; deregisterColor(id: string): void; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/colorRegistry.ts#L170 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/colorRegistry.ts#L170 export function getColorRegistry(): IColorRegistry; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/colorRegistry.ts#L471 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/colorRegistry.ts#L475 export function darken(colorValue: ColorValue, factor: number): ColorFunction; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/colorRegistry.ts#L481 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/colorRegistry.ts#L485 export function lighten(colorValue: ColorValue, factor: number): ColorFunction; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/theme/common/colorRegistry.ts#L491 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/theme/common/colorRegistry.ts#L495 export function transparent(colorValue: ColorValue, factor: number): ColorFunction; } declare module monaco.referenceSearch { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes.ts#L875 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes.ts#L943 export interface Location { uri: Uri, range: IRange } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/gotoSymbol/referencesModel.ts#L22 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/gotoSymbol/referencesModel.ts#L22 export interface OneReference { } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/gotoSymbol/referencesModel.ts#L142 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/gotoSymbol/referencesModel.ts#L142 export interface ReferencesModel implements IDisposable { readonly references: OneReference[] } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/gotoSymbol/peek/referencesWidget.ts#L193 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/gotoSymbol/peek/referencesWidget.ts#L193 export interface ReferenceWidget { show(range: IRange): void; hide(): void; @@ -1018,13 +1018,13 @@ declare module monaco.referenceSearch { } // it's used as return value for referenceWidget._tree - // see https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/gotoSymbol/peek/referencesWidget.ts#L204 + // see https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/gotoSymbol/peek/referencesWidget.ts#L204 export interface ReferenceTree { getFocus(): ReferenceTreeElement[] } export interface ReferenceTreeElement { } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/gotoSymbol/peek/referencesController.ts#L32 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/gotoSymbol/peek/referencesController.ts#L32 export interface ReferencesController extends IDisposable { static readonly ID: string; _widget?: ReferenceWidget; @@ -1039,14 +1039,14 @@ declare module monaco.referenceSearch { declare module monaco.quickOpen { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/browser/ui/inputbox/inputBox.ts#L58 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/browser/ui/inputbox/inputBox.ts#L58 export interface IMessage { content: string; formatContent?: boolean; // defaults to false type?: 1 /* INFO */ | 2 /* WARNING */ | 3 /* ERROR */; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/browser/ui/inputbox/inputBox.ts#L90 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/browser/ui/inputbox/inputBox.ts#L90 export class InputBox { inputElement: HTMLInputElement; setPlaceHolder(placeHolder: string): void; @@ -1054,13 +1054,13 @@ declare module monaco.quickOpen { hideMessage(): void; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/tree/browser/tree.ts#L17 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/tree/browser/tree.ts#L17 - not found in 0.23.x export interface QuickOpenTree { onDidChangeFocus: monaco.Event; getFocus(): monaco.quickOpen.QuickOpenEntry; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts#L96 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts#L96 - not found in 0.23.x export class QuickOpenWidget implements IDisposable { inputBox?: InputBox; tree: QuickOpenTree; @@ -1075,14 +1075,14 @@ declare module monaco.quickOpen { hide(reason?: HideReason): void; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts#L79 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts#L79 - not found in 0.23.x export enum HideReason { ELEMENT_SELECTED, FOCUS_LOST, CANCELED } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts#L28 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts#L28 - not found in 0.23.x export interface IQuickOpenCallbacks { onOk: () => void; onCancel: () => void; @@ -1092,7 +1092,7 @@ declare module monaco.quickOpen { onFocusLost?: () => boolean /* veto close */; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts#L37 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts#L37 - not found in 0.23.x export interface IQuickOpenOptions /* extends IQuickOpenStyles */ { minItemsToShow?: number; maxItemsToShow?: number; @@ -1102,7 +1102,7 @@ declare module monaco.quickOpen { keyboardSupport?: boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts#L57 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenWidget.ts#L57 - not found in 0.23.x export interface IShowOptions { quickNavigateConfiguration?: IQuickNavigateConfiguration; autoFocus?: IAutoFocus; @@ -1110,12 +1110,12 @@ declare module monaco.quickOpen { value?: string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L8 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L8 - not found in 0.23.x export interface IQuickNavigateConfiguration { keybindings: monaco.keybindings.ResolvedKeybinding[]; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L12 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L12 - not found in 0.23.x export interface IAutoFocus { /** @@ -1147,23 +1147,23 @@ declare module monaco.quickOpen { autoFocusPrefixMatch?: string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L43-L47 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L43-L47 - not found in 0.23.x export type Mode = 0 /* PREVIEW */ | 1 /* OPEN */ | 2 /* OPEN_IN_BACKGROUND */; - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L49 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L49 - not found in 0.23.x export interface IEntryRunContext { event: any; keymods: IKeyMods; quickNavigateConfiguration: IQuickNavigateConfiguration | undefined; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L55 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L55 - not found in 0.23.x export interface IKeyMods { ctrlCmd: boolean; alt: boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L60 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L60 - not found in 0.23.x export interface IDataSource { getId(entry: T): string; getLabel(entry: T): string | null; @@ -1171,7 +1171,7 @@ declare module monaco.quickOpen { /** * See vs/base/parts/tree/browser/tree.ts - IRenderer */ - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L68 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L68 - not found in 0.23.x export interface IRenderer { getHeight(entry: T): number; getTemplateId(entry: T): string; @@ -1180,21 +1180,21 @@ declare module monaco.quickOpen { disposeTemplate(templateId: string, templateData: any): void; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L76 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L76 - not found in 0.23.x export interface IFilter { isVisible(entry: T): boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L80 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L80 - not found in 0.23.x export interface IAccessiblityProvider { getAriaLabel(entry: T): string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L84 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L84 - not found in 0.23.x export interface IRunner { run(entry: T, mode: Mode, context: IEntryRunContext): boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L88 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/common/quickOpen.ts#L88 - not found in 0.23.x export interface IModel { entries: T[]; dataSource: IDataSource; @@ -1204,13 +1204,13 @@ declare module monaco.quickOpen { accessibilityProvider?: IAccessiblityProvider; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenModel.ts#L29 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenModel.ts#L29 - not found in 0.23.x export interface IHighlight { start: number; end: number; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/browser/ui/iconLabel/iconLabel.ts#L34 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/browser/ui/iconLabel/iconLabel.ts#L34 export interface IIconLabelValueOptions { title?: string; descriptionTitle?: string; @@ -1224,7 +1224,7 @@ declare module monaco.quickOpen { readonly domId?: string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenModel.ts#L55 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenModel.ts#L55 - not found in 0.23.x export class QuickOpenEntry { constructor(highlights?: IHighlight[]); getLabel(): string | undefined; @@ -1242,7 +1242,7 @@ declare module monaco.quickOpen { run(mode: Mode, context: IEntryRunContext): boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenModel.ts#L197 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenModel.ts#L197 - not found in 0.23.x export class QuickOpenEntryGroup extends QuickOpenEntry { constructor(entry?: QuickOpenEntry, groupLabel?: string, withBorder?: boolean); getGroupLabel(): string | undefined; @@ -1252,13 +1252,13 @@ declare module monaco.quickOpen { getEntry(): QuickOpenEntry | undefined; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/tree/browser/tree.ts#L571 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/tree/browser/tree.ts#L571 - not found in 0.23.x export interface IActionProvider { hasActions(element: any, item: any): boolean; getActions(element: any, item: any): ReadonlyArray | null; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenModel.ts#L489 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/base/parts/quickopen/browser/quickOpenModel.ts#L489 - not found in 0.23.x export class QuickOpenModel implements IModel, IDataSource, @@ -1280,63 +1280,63 @@ declare module monaco.quickOpen { run(entry: QuickOpenEntry, mode: Mode, context: IEntryRunContext): boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/editor/standalone/browser/quickOpen/editorQuickOpen.ts#L19 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/editor/standalone/browser/quickOpen/editorQuickOpen.ts#L19 - not found in 0.23.x export interface IQuickOpenControllerOpts { readonly inputAriaLabel: string; getModel(lookFor: string): QuickOpenModel; getAutoFocus(lookFor: string): IAutoFocus; } - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/editor/standalone/browser/quickOpen/editorQuickOpen.ts#L25 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/editor/standalone/browser/quickOpen/editorQuickOpen.ts#L25 - not found in 0.23.x export interface QuickOpenController extends IDisposable { static readonly ID: string; dispose(): void; run(opts: IQuickOpenControllerOpts): void; - // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/editor/standalone/browser/quickOpen/editorQuickOpen.ts#L169 - not found in 0.22.x + // https://github.com/theia-ide/vscode/blob/standalone/0.20.x/src/vs/editor/standalone/browser/quickOpen/editorQuickOpen.ts#L169 - not found in 0.23.x clearDecorations(): void; } } declare module monaco.filters { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/filters.ts#L15 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/filters.ts#L15 export interface IMatch { start: number; end: number; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/filters.ts#L337 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/filters.ts#L337 export function matchesFuzzy(word: string, wordToMatchAgainst: string, enableSeparateSubstringMatching?: boolean): IMatch[] | undefined; } declare module monaco.editorExtensions { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/editorExtensions.ts#L215 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/editorExtensions.ts#L215 export abstract class EditorCommand { } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/editorExtensions.ts#L279 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/editorExtensions.ts#L279 export abstract class EditorAction extends EditorCommand { id: string; label: string; } export module EditorExtensionsRegistry { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/editorExtensions.ts#L499 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/editorExtensions.ts#L497 export function getEditorActions(): EditorAction[]; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/browser/editorExtensions.ts#L495 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/browser/editorExtensions.ts#L493 export function getEditorCommand(commandId: string): EditorCommand | undefined; } } declare module monaco.modes { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes.ts#L209 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes.ts#L209 export interface ITokenizationSupport { tokenize(line: string, state: monaco.languages.IState, offsetDelta: number): any; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes.ts#L1846 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes.ts#L1927 export interface TokenizationRegistry { get(language: string): ITokenizationSupport | null; getColorMap(): monaco.color.Color[] | null; @@ -1344,7 +1344,7 @@ declare module monaco.modes { } export const TokenizationRegistry: TokenizationRegistry; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes.ts#L70 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes.ts#L70 export const enum FontStyle { NotSet = -1, None = 0, @@ -1353,7 +1353,7 @@ declare module monaco.modes { Underline = 4 } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes.ts#L148 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes.ts#L148 export class TokenMetadata { public static getLanguageId(metadata: number): number; @@ -1369,13 +1369,13 @@ declare module monaco.modes { public static getInlineStyleFromMetadata(metadata: number, colorMap: string[]): string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/glob.ts#L17 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/glob.ts#L17 export interface IRelativePattern { base: string; pattern: string; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes/languageSelector.ts#L10 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes/languageSelector.ts#L10 export interface LanguageFilter { language?: string; scheme?: string; @@ -1387,10 +1387,10 @@ declare module monaco.modes { exclusive?: boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes/languageSelector.ts#L21 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes/languageSelector.ts#L21 export type LanguageSelector = string | LanguageFilter | Array; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes/languageFeatureRegistry.ts#L32 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes/languageFeatureRegistry.ts#L32 export interface LanguageFeatureRegistry { has(model: monaco.editor.ITextModel): boolean; all(model: monaco.editor.ITextModel): T[]; @@ -1398,46 +1398,46 @@ declare module monaco.modes { readonly onDidChange: monaco.IEvent; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes.ts#L1743 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes.ts#L1824 export const DocumentSymbolProviderRegistry: LanguageFeatureRegistry; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes.ts#L1723 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes.ts#L1799 export const CompletionProviderRegistry: LanguageFeatureRegistry; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/modes.ts#L1788 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/modes.ts#L1869 export const CodeActionProviderRegistry: LanguageFeatureRegistry; } declare module monaco.suggest { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/suggest/suggest.ts#L145 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/suggest/suggest.ts#L145 export const enum SnippetSortOrder { Top, Inline, Bottom } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/suggest/suggestController.ts#L99 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/suggest/suggestController.ts#L99 export interface SuggestController { readonly widget: { getValue(): SuggestWidget } } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/suggest/suggestWidget.ts#L634 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/suggest/suggestWidget.ts#L635 export interface SuggestWidget { getFocusedItem(): ISelectedSuggestion | undefined; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/suggest/suggestWidget.ts#L55 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/suggest/suggestWidget.ts#L55 export interface ISelectedSuggestion { item: CompletionItem; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/suggest/suggest.ts#L38 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/suggest/suggest.ts#L38 export interface CompletionItem { completion: monaco.languages.CompletionItem; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/suggest/suggest.ts#L149 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/suggest/suggest.ts#L149 export class CompletionOptions { constructor( @@ -1448,7 +1448,7 @@ declare module monaco.suggest { } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/suggest/suggest.ts#L192 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/suggest/suggest.ts#L192 export function provideSuggestionItems( model: monaco.editor.ITextModel, position: Position, @@ -1457,12 +1457,12 @@ declare module monaco.suggest { token?: monaco.CancellationToken ): Promise; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/suggest/suggest.ts#L166 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/suggest/suggest.ts#L166 export function setSnippetSuggestSupport(support: monaco.languages.CompletionItemProvider): monaco.languages.CompletionItemProvider; } declare module monaco.snippetParser { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/contrib/snippet/snippetParser.ts#L583 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/contrib/snippet/snippetParser.ts#L583 export class SnippetParser { parse(value: string): TextmateSnippet; } @@ -1472,16 +1472,16 @@ declare module monaco.snippetParser { declare module monaco.contextKeyService { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/contextkey/common/contextkey.ts#L1294 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/contextkey/common/contextkey.ts#L1313 export interface IContextKey { set(value: T): void; reset(): void; get(): T | undefined; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/contextkey/common/contextkey.ts#L1318 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/contextkey/common/contextkey.ts#L1337 export interface IContextKeyService { - // vs code has another object as argument https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/contextkey/common/contextkey.ts#L1329 + // vs code has another object as argument https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/contextkey/common/contextkey.ts#L1348 // which contains restcicted number of HTMLElement methods createScoped(target?: HTMLElement): IContextKeyService; getContext(target?: HTMLElement): IContext; @@ -1490,17 +1490,17 @@ declare module monaco.contextKeyService { onDidChangeContext: monaco.IEvent; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/contextkey/common/contextkey.ts#L1290 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/contextkey/common/contextkey.ts#L1309 export interface IContext { getValue(key: string): T | undefined; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/contextkey/common/contextkey.ts#L1314 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/contextkey/common/contextkey.ts#L1333 export interface IContextKeyChangeEvent { affectsSome(keys: Set): boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/contextkey/browser/contextKeyService.ts#L344 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/contextkey/browser/contextKeyService.ts#L352 export class ContextKeyService implements IContextKeyService { constructor(configurationService: monaco.services.IConfigurationService); createScoped(target?: HTMLElement): IContextKeyService; @@ -1513,10 +1513,10 @@ declare module monaco.contextKeyService { declare module monaco.contextkey { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/contextkey/common/contextkey.ts#L1308 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/contextkey/common/contextkey.ts#L1327 export const IContextKeyService: any; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/platform/contextkey/common/contextkey.ts#L79 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/platform/contextkey/common/contextkey.ts#L79 export class ContextKeyExpr { keys(): string[]; static deserialize(when: string): ContextKeyExpr; @@ -1526,7 +1526,7 @@ declare module monaco.contextkey { declare module monaco.mime { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/mime.ts#L17 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/mime.ts#L17 export interface ITextMimeAssociation { readonly id: string; readonly mime: string; @@ -1537,25 +1537,25 @@ declare module monaco.mime { readonly userConfigured?: boolean; } - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/mime.ts#L41 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/mime.ts#L41 export function registerTextMime(association: monaco.mime.ITextMimeAssociation, warnOnOverwrite: boolean): void; - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/mime.ts#L97 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/mime.ts#L97 export function clearTextMimes(onlyUserConfigured?: boolean): void; } declare module monaco.error { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/errors.ts#L77 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/errors.ts#L79 export function onUnexpectedError(e: any): undefined; } declare module monaco.path { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/base/common/path.ts#L1494 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/base/common/path.ts#L1494 export function normalize(uriPath: string): string; } declare module monaco.wordHelper { - // https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/common/model/wordHelper.ts#L30 + // https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/common/model/wordHelper.ts#L30 export const DEFAULT_WORD_REGEXP: RegExp; } @@ -1578,7 +1578,7 @@ declare module monaco.async { /** * overloading languages register functions to accept LanguageSelector, * check that all register functions passing a selector to registries: - * https://github.com/theia-ide/vscode/blob/standalone/0.22.x/src/vs/editor/standalone/browser/standaloneLanguages.ts#L368-L546 + * https://github.com/theia-ide/vscode/blob/standalone/0.23.x/src/vs/editor/standalone/browser/standaloneLanguages.ts#L368-L546 */ declare module monaco.languages { export function registerReferenceProvider(selector: monaco.modes.LanguageSelector, provider: ReferenceProvider): IDisposable;