mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-14 12:49:28 +00:00
Updated Theia to 1.25.0
Co-authored-by: Mark Sujew <mark.sujew@typefox.io> Co-authored-by: Akos Kitta <a.kitta@arduino.cc> Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { interfaces, Container } from 'inversify';
|
||||
import { interfaces, Container } from '@theia/core/shared/inversify';
|
||||
import {
|
||||
CompressionToggle,
|
||||
createTreeContainer,
|
||||
Tree,
|
||||
TreeCompressionService,
|
||||
TreeImpl,
|
||||
TreeModel,
|
||||
TreeModelImpl,
|
||||
@@ -27,6 +29,9 @@ export function createSketchbookTreeContainer(
|
||||
child.bind(SketchbookTreeWidget).toSelf();
|
||||
child.rebind(TreeWidget).toService(SketchbookTreeWidget);
|
||||
|
||||
child.bind(CompressionToggle).toConstantValue({ compress: false });
|
||||
child.bind(TreeCompressionService).toSelf().inSingletonScope();
|
||||
|
||||
return child;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { inject, injectable, postConstruct } from 'inversify';
|
||||
import { inject, injectable, postConstruct } from '@theia/core/shared/inversify';
|
||||
import URI from '@theia/core/lib/common/uri';
|
||||
import { FileNode, FileTreeModel } from '@theia/filesystem/lib/browser';
|
||||
import { FileService } from '@theia/filesystem/lib/browser/file-service';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as React from 'react';
|
||||
import { inject, injectable, postConstruct } from 'inversify';
|
||||
import * as React from '@theia/core/shared/react';
|
||||
import { inject, injectable, postConstruct } from '@theia/core/shared/inversify';
|
||||
import { TreeNode } from '@theia/core/lib/browser/tree/tree';
|
||||
import { CommandRegistry } from '@theia/core/lib/common/command';
|
||||
import {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { inject, injectable } from 'inversify';
|
||||
import { inject, injectable } from '@theia/core/shared/inversify';
|
||||
import { Command } from '@theia/core/lib/common/command';
|
||||
import { CompositeTreeNode, TreeNode } from '@theia/core/lib/browser/tree';
|
||||
import { DirNode, FileStatNode } from '@theia/filesystem/lib/browser/file-tree';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as remote from '@theia/core/electron-shared/@electron/remote';
|
||||
import { inject, injectable } from 'inversify';
|
||||
import { inject, injectable } from '@theia/core/shared/inversify';
|
||||
import { CommandRegistry } from '@theia/core/lib/common/command';
|
||||
import { MenuModelRegistry } from '@theia/core/lib/common/menu';
|
||||
import { PreferenceService } from '@theia/core/lib/browser/preferences/preference-service';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { inject, injectable, postConstruct } from 'inversify';
|
||||
import { toArray } from '@phosphor/algorithm';
|
||||
import { IDragEvent } from '@phosphor/dragdrop';
|
||||
import { DockPanel, Widget } from '@phosphor/widgets';
|
||||
import { Message, MessageLoop } from '@phosphor/messaging';
|
||||
import { inject, injectable, postConstruct } from '@theia/core/shared/inversify';
|
||||
import { toArray } from '@theia/core/shared/@phosphor/algorithm';
|
||||
import { IDragEvent } from '@theia/core/shared/@phosphor/dragdrop';
|
||||
import { DockPanel, Widget } from '@theia/core/shared/@phosphor/widgets';
|
||||
import { Message, MessageLoop } from '@theia/core/shared/@phosphor/messaging';
|
||||
import { Disposable } from '@theia/core/lib/common/disposable';
|
||||
import { BaseWidget } from '@theia/core/lib/browser/widgets/widget';
|
||||
import { SketchbookTreeWidget } from './sketchbook-tree-widget';
|
||||
|
||||
Reference in New Issue
Block a user