ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { Disposable, DisposableMap } from '../../../base/common/lifecycle.js';
import { Emitter, Event } from '../../../base/common/event.js';
import { IViewDescriptorService, ViewContainerLocation } from '../../common/views.js';
/**
* Tracks the number of visible view containers at a given location.
* A view container is considered visible if it has active views (activeViewDescriptors.length > 0).
* Fires an event when the number of visible containers changes.
*/
export class VisibleViewContainersTracker extends Disposable {
private readonly viewContainerModelListeners = this._register(new DisposableMap<string>())
_onDidChange
onDidChange Event before after _onDidChangeevent
_visibleCount
location ViewContainerLocation
viewDescriptorService IViewDescriptorService
_visibleCount
viewDescriptorService added removed
container location added
location location
containerid
container location removed
location location
viewContainerModelListenerscontainerid
relevantChange added removed location location location
relevantChange
viewDescriptorService viewContainer from to
from location
viewContainerModelListenersviewContainerid
to location
viewContainerid
from location to location
container viewDescriptorServicelocation
containerid
containerId
container viewDescriptorServicecontainerId
container
model viewDescriptorServicecontainer
listener model
viewContainerModelListenerscontainerId listener
viewContainers viewDescriptorServicelocation
visibleViewContainers viewContainerscontainer
viewDescriptorServicecontaineractiveViewDescriptorslength
newCount visibleViewContainerslength
_visibleCount newCount
before _visibleCount
_visibleCount newCount
_onDidChange before after newCount