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 { Dimension, getWindow, h, scheduleAtNextAnimationFrame } from '../../../../base/browser/dom.js';
import { SmoothScrollableElement } from '../../../../base/browser/ui/scrollbar/scrollableElement.js';
import { compareBy, numberComparator } from '../../../../base/common/arrays.js';
import { findFirstMax } from '../../../../base/common/arraysFind.js';
import { BugIndicatingError } from '../../../../base/common/errors.js';
import { Disposable } from '../../../../base/common/lifecycle.js';
import { autorun, globalTransaction, IObservable ITransaction observableFromEvent observableSignal observableValue
INewScrollPosition IScrollPosition Scrollable ScrollbarVisibility
OffsetRange
ObservableElementSizeObserver
asLayoutRevision computeCompressedVirtualizedScrollHeight computeCompressedVirtualizedScrollLayout computeItemRanges createAnchoredSizeEditBatch ICompressedVirtualizedScrollLayout ILogicalPosition ISizeEdit LayoutRevision mapLogicalPosition
size IObservable
maxScroll IObservable maxScroll
renderedRange OffsetRange scrollOffset width renderedViewport OffsetRange context ICompressedVirtualizedScrollItemContext
contentDomNode HTMLElement
overflowWidgetsDomNode HTMLElement
scrollLeft IObservable
tx ITransaction
fromRevision LayoutRevision
toRevision LayoutRevision
edits ISizeEdit
anchorKind
anchorOffset
mappedAnchorOffset
anchorViewportOffset
desiredScrollTop
appliedScrollTop
leadingScrollSlack
trailingScrollSlack
_scrollableElements
_scrollable
_scrollableElement
_sizeObserver
_items
_layout
_scrollDimensions
_lastGeometryEdit
_itemAnchorEditSignal
_revision
_leadingScrollSlack
_trailingScrollSlack
_previousItems TItem
_previousItemHeights
_previousItemGap
_lastScrollTop
_isUpdating
_pendingAnchor
position ILogicalPosition
viewportOffset
item ICompressedVirtualizedScrollItem
getItemOffset
domNode HTMLElement
scrollTop IObservable
scrollLeft IObservable
layout IObservableICompressedVirtualizedScrollLayout
scrollDimensions IObservable width height scrollWidth scrollHeight
lastGeometryEdit IObservableICompressedVirtualizedGeometryEdit _lastGeometryEdit
elementToObserve HTMLElement
dimension IObservableDimension
itemGap IObservable
context ICompressedVirtualizedScrollViewContext IObservable TItem
_scrollableElements
style
overflow
position
_scrollable
forceIntegerValues
callback elementToObserve callback
smoothScrollDuration
_scrollableElement _scrollableElementsroot
vertical ScrollbarVisibilityAuto
horizontal ScrollbarVisibilityAuto
useShadows
_scrollable
domNode _scrollableElementroot
_sizeObserver elementToObserve
scrollTop _scrollableElementonScroll _scrollableElementscrollTop
scrollLeft _scrollableElementonScroll _scrollableElementscrollLeft
_items
contentDomNode _scrollableElementscontent
overflowWidgetsDomNode _scrollableElementsoverflowWidgetsDomNode
scrollLeft scrollLeft
_layout
revision _revision
scrollTop
viewportHeight
itemGap
itemHeights
layout _layout
_scrollDimensions width height scrollWidth scrollHeight
scrollDimensions _scrollDimensions
reader
_sizeObserverdimensionreader
reader
_itemAnchorEditSignalreader
width _sizeObserverwidthreader
height _sizeObserverheightreader
items _itemsreader
itemHeights itemsitem itemsizereader
max items item itemmaxScrollreadermaxScroll numberComparator
maxScroll maxmaxScrollreadermaxScroll
gap itemGapreader
requestedScrollTop scrollTopreader
tx items itemHeights gap width height width maxScroll requestedScrollTop tx
position INewScrollPosition smooth
_scrollableElement
position
reuseAnimation smooth
scrollTop smooth
scrollTop _leadingScrollSlack scrollTop smooth
IScrollPosition
_scrollableElement
anchor ILogicalPosition tx ITransaction
anchorrevision _revision
logicalScrollHeight _layoutlogicalScrollHeight
Numberanchoroffset anchoroffset anchoroffset logicalScrollHeight
logicalViewportTop scrollTop _leadingScrollSlack
position anchor
viewportOffset anchoroffset logicalViewportTop
update
item ICompressedVirtualizedScrollItem tx ITransaction
items _items
itemIndex itemscandidate candidate item
itemIndex
itemRange _layoutitemsitemIndexcontentRange
itemOffset
NumberitemOffset itemOffset itemOffset itemRangelength
position
revision _revision
offset itemRangestart itemOffset
logicalViewportTop scrollTop _leadingScrollSlack
position
viewportOffset positionoffset logicalViewportTop
item
getItemOffset
tx
tx
itemOffset
_itemAnchorEditSignaltx
pendingAnchor NonNullable _pendingAnchor tx ITransaction
_pendingAnchor
_pendingAnchor pendingAnchor
update
_pendingAnchor pendingAnchor
_pendingAnchor
items TItem
itemHeights
itemGap
width
height
scrollWidth
requestedScrollTop
tx ITransaction
_isUpdating
_isUpdating
targetScrollTop requestedScrollTop
scrollDelta requestedScrollTop _lastScrollTop
previousItemHeights _previousItemHeights
geometryChanged previousItemHeights
itemGap _previousItemGap previousItemHeights itemHeights
hasStableItems _previousItems
_previousItemslength itemslength
_previousItemsitem index item itemsindex
itemsChanged _previousItems hasStableItems
didApplyAnchor
appliesPendingAnchor _pendingAnchor hasStableItems
previousItemHeights geometryChanged appliesPendingAnchor hasStableItems
oldLogicalScrollHeight previousItemHeights _previousItemGap
oldLogicalViewportTop requestedScrollTop _leadingScrollSlack
pendingAnchor _pendingAnchor
futureScrollTop _scrollablescrollTop
isActivelyScrollingUp _scrollable futureScrollTop requestedScrollTop
defaultAnchorViewportOffset isActivelyScrollingUp height
anchorKind pendingAnchoritem pendingAnchor isActivelyScrollingUp
anchorOffset pendingAnchorpositionoffset Math MatholdLogicalViewportTop defaultAnchorViewportOffset oldLogicalScrollHeight
anchorViewportOffset pendingAnchorviewportOffset anchorOffset oldLogicalViewportTop
fromRevision _revision
toRevision geometryChanged fromRevision fromRevision
edit fromRevision toRevision previousItemHeights itemHeights _previousItemGap itemGap anchorOffset
mappedAnchor editanchor edit
pendingAnchoritem pendingAnchorgetItemOffset
itemIndex itemsitem item pendingAnchoritem
itemIndex
itemRange itemHeights itemGapitemIndex
itemOffset pendingAnchor
NumberitemOffset itemOffset itemOffset itemRangelength
mappedAnchor
revision toRevision
offset itemRangestart itemOffset
newLogicalScrollHeight itemHeights itemGap
desiredLogicalScrollTop mappedAnchoroffset anchorViewportOffset
naturalMaxScrollTop Math newLogicalScrollHeight height
_leadingScrollSlack Math desiredLogicalScrollTop
_trailingScrollSlack Math desiredLogicalScrollTop naturalMaxScrollTop
targetScrollTop _leadingScrollSlack desiredLogicalScrollTop
_revision toRevision
_pendingAnchor
didApplyAnchor
_lastGeometryEdit
fromRevision
toRevision
edits editedits
anchorKind
anchorOffset
mappedAnchorOffset mappedAnchoroffset
anchorViewportOffset
desiredScrollTop targetScrollTop
appliedScrollTop targetScrollTop
leadingScrollSlack _leadingScrollSlack
trailingScrollSlack _trailingScrollSlack
tx
geometryChanged itemsChanged
geometryChanged
_revision _revision
_leadingScrollSlack
_trailingScrollSlack
_lastGeometryEdit tx
scrollDelta _leadingScrollSlack
consumedSlack MathscrollDelta _leadingScrollSlack
_leadingScrollSlack consumedSlack
targetScrollTop consumedSlack
scrollDelta _trailingScrollSlack
logicalScrollHeight itemHeights itemGap
naturalMaxScrollTop _leadingScrollSlack Math logicalScrollHeight height
_trailingScrollSlack Math targetScrollTop naturalMaxScrollTop
layout
revision _revision
scrollTop targetScrollTop
viewportHeight height
itemGap
itemHeights
leadingScrollSlack _leadingScrollSlack
trailingScrollSlack _trailingScrollSlack
dimensions width height scrollWidth scrollHeight layoutscrollHeight
_scrollableElementsrootstyleheight
_scrollableElementscontentstyleheight
_scrollabledimensions
needsImmediateScrollCorrection geometryChanged targetScrollTop requestedScrollTop
needsImmediateScrollCorrection
_scrollable scrollTop layoutscrollTop
appliedScrollTop _scrollableElementscrollTop
appliedScrollTop layoutscrollTop
layout
revision _revision
scrollTop appliedScrollTop
viewportHeight height
itemGap
itemHeights
leadingScrollSlack _leadingScrollSlack
trailingScrollSlack _trailingScrollSlack
geometryEdit _lastGeometryEdit
didApplyAnchor geometryEdit
_lastGeometryEdit geometryEdit appliedScrollTop tx
_layoutlayout tx
_scrollDimensionsdimensions tx
items layout width
_previousItems items
_previousItemHeights itemHeights
_previousItemGap itemGap
_lastScrollTop layoutscrollTop
_isUpdating
items TItem layout ICompressedVirtualizedScrollLayout width
index index itemslength index
item itemsindex
itemLayout layoutitemsindex
itemLayoutvisibility
item
itemitemLayoutrenderedRange itemLayoutscrollOffset width layoutrenderedViewport
getItemOffset update item getItemOffset update
_scrollableElementscontentstyletransform
a b
alength blength avalue index value bindex