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 { $ } from '../../dom.js';
import { IBoundarySashes, Orientation, Sash } from '../sash/sash.js';
import { DistributeSizing, ISplitViewStyles, IView as ISplitView, LayoutPriority, Sizing, AutoSizing, SplitView } from '../splitview/splitview.js';
import { equals as arrayEquals, tail } from '../../../common/arrays.js';
import { Color } from '../../../common/color.js';
import { Emitter, Event, Relay }
Disposable DisposableStore IDisposable toDisposable
rot
isUndefined
Orientation
LayoutPriority Sizing
defaultStyles IGridViewStyles
separatorBorder Colortransparent
width
height
start Sash
end Sash
orthogonalStart Sash
orthogonalEnd Sash
element HTMLElement
minimumWidth
maximumWidth
minimumHeight
maximumHeight
priority LayoutPriority
proportionalLayout
snap
onDidChange EventIViewSize
width height top left
setVisiblevisible
setBoundarySashessashes IBoundarySashes
object
json
type
data
size
visible
maximized
type
data ISerializedNode
size
visible
ISerializedLeafNode ISerializedBranchNode
root ISerializedNode
orientation Orientation
width
height
orientation Orientation Orientation
orientation Orientation Orientation Orientation
top
left
width
height
view IView
box Box
cachedVisibleSize
maximized
children GridNode
box Box
GridLeafNode GridBranchNode
node GridNode node GridBranchNode
node children
isLayoutEnabled
styles IGridViewStyles
proportionalLayout
orthogonalSize
absoluteOffset
absoluteOrthogonalOffset
absoluteSize
absoluteOrthogonalSize
sashes IRelativeBoundarySashes orientation Orientation IBoundarySashes
orientation Orientation
left sashesstart right sashesend top sashesorthogonalStart bottom sashesorthogonalEnd
top sashesstart bottom sashesend left sashesorthogonalStart right sashesorthogonalEnd
sashes IBoundarySashes orientation Orientation IRelativeBoundarySashes
orientation Orientation
start sashesleft end sashesright orthogonalStart sashestop orthogonalEnd sashesbottom
start sashestop end sashesbottom orthogonalStart sashesleft orthogonalEnd sashesright
index numChildren
Mathindex numChildren
index numChildren
IDisposable
element HTMLElement
children Node
splitview SplitViewILayoutContext Node
_size
_size
_orthogonalSize
_orthogonalSize
_absoluteOffset
_absoluteOffset
_absoluteOrthogonalOffset
_absoluteOrthogonalOffset
absoluteOrthogonalSize
_styles IGridViewStyles
IGridViewStyles _styles
orientation Orientation size orthogonalSize
orientation Orientation orthogonalSize size
orientation Orientation _absoluteOffset _absoluteOrthogonalOffset
orientation Orientation _absoluteOrthogonalOffset _absoluteOffset
childrenlength Mathchildrenc index splitviewindex cminimumOrthogonalSize
Mathchildrenc index splitviewindex cmaximumOrthogonalSize Number
LayoutPriority
childrenlength
LayoutPriorityNormal
priorities childrenc cpriority LayoutPriorityNormal cpriority
prioritiesp p LayoutPriorityHigh
LayoutPriorityHigh
prioritiesp p LayoutPriorityLow
LayoutPriorityLow
LayoutPriorityNormal
childrenlength
childrenc cproportionalLayout
splitviewminimumSize
splitviewmaximumSize
orientation Orientation minimumOrthogonalSize minimumSize
orientation Orientation minimumSize minimumOrthogonalSize
orientation Orientation maximumOrthogonalSize maximumSize
orientation Orientation maximumSize maximumOrthogonalSize
_onDidChange
onDidChange Event _onDidChangeevent
_onDidVisibilityChange
onDidVisibilityChange Event _onDidVisibilityChangeevent
childrenVisibilityChangeDisposable DisposableStore
_onDidScroll
onDidScrollDisposable IDisposable DisposableNone
onDidScroll Event _onDidScrollevent
childrenChangeDisposable IDisposable DisposableNone
_onDidSashReset
onDidSashReset EventGridLocation _onDidSashResetevent
splitviewSashResetDisposable IDisposable DisposableNone
childrenSashResetDisposable IDisposable DisposableNone
_boundarySashes IRelativeBoundarySashes
IRelativeBoundarySashes _boundarySashes
boundarySashes IRelativeBoundarySashes
_boundarySashesstart boundarySashesstart
_boundarySashesend boundarySashesend
_boundarySashesorthogonalStart boundarySashesorthogonalStart
_boundarySashesorthogonalEnd boundarySashesorthogonalEnd
_boundarySashes boundarySashes
splitvieworthogonalStartSash boundarySashesorthogonalStart
splitvieworthogonalEndSash boundarySashesorthogonalEnd
index index childrenlength index
child childrenindex
first index
last index childrenlength
childboundarySashes
start boundarySashesorthogonalStart
end boundarySashesorthogonalEnd
orthogonalStart first boundarySashesstart childboundarySashesorthogonalStart
orthogonalEnd last boundarySashesend childboundarySashesorthogonalEnd
_edgeSnapping
_edgeSnapping
edgeSnapping
_edgeSnapping edgeSnapping
_edgeSnapping edgeSnapping
child children
child
childedgeSnapping edgeSnapping
orientation Orientation
layoutController LayoutController
styles IGridViewStyles
splitviewProportionalLayout
size
orthogonalSize
edgeSnapping
childDescriptors INodeDescriptor
_styles styles
_size size
_orthogonalSize orthogonalSize
element
childDescriptors
splitview element orientation styles proportionalLayout splitviewProportionalLayout
splitviewsize orthogonalSize absoluteOffset absoluteOrthogonalOffset absoluteSize size absoluteOrthogonalSize orthogonalSize
descriptor
views childDescriptorschildDescriptor
view childDescriptornode
size childDescriptornodesize
visible childDescriptorvisible
size orthogonalSize
options proportionalLayout splitviewProportionalLayout orientation styles
children childDescriptorsc cnode
splitview element options descriptor
childrennode index
first index
last index childrenlength
nodeboundarySashes
start boundarySashesorthogonalStart
end boundarySashesorthogonalEnd
orthogonalStart first boundarySashesstart splitviewsashesindex
orthogonalEnd last boundarySashesend splitviewsashesindex
onDidSashReset EventsplitviewonDidSashReset i i
splitviewSashResetDisposable _onDidSashResetfire _onDidSashReset
styles IGridViewStyles
_styles styles
splitviewstyles
child children
child
childstyles
size offset ctx ILayoutContext
layoutControllerisLayoutEnabled
ctx
_size ctxorthogonalSize
_orthogonalSize size
_absoluteOffset ctxabsoluteOffset offset
_absoluteOrthogonalOffset ctxabsoluteOrthogonalOffset
absoluteOrthogonalSize ctxabsoluteOrthogonalSize
splitviewctxorthogonalSize
orthogonalSize size
absoluteOffset _absoluteOrthogonalOffset
absoluteOrthogonalOffset _absoluteOffset
absoluteSize ctxabsoluteOrthogonalSize
absoluteOrthogonalSize ctxabsoluteSize
visible
child children
childvisible
node Node size Sizing index skipLayout
index index childrenlength
splitviewnode size index skipLayout
childrenindex node
index sizing Sizing Node
index index childrenlength
result splitviewindex sizing
childrenindex
result
Node
result splitview
children childrenlength
result
from to
from from childrenlength
to to childrenlength
from to
from to
to
splitviewfrom to
childrento childrenfrom
from to
from from childrenlength
to to childrenlength
from to
splitviewfrom to
childrenfromboundarySashes childrentoboundarySashes
childrenfromboundarySashes childrentoboundarySashes
childrenfrom childrento childrento childrenfrom
index size
index index childrenlength
splitviewindex size
index
splitviewindex
recursive
splitview
recursive
child children
child
child
index
index index childrenlength
splitviewindex
index
index index childrenlength
splitviewindex
index visible
index index childrenlength
splitviewindex visible
wereAllChildrenHidden splitviewcontentSize
splitviewindex visible
areAllChildrenHidden splitviewcontentSize
visible wereAllChildrenHidden visible areAllChildrenHidden
_onDidVisibilityChangevisible
index
index index childrenlength
splitviewindex
i i childrenlength i
childreniboundarySashes
start boundarySashesorthogonalStart
end boundarySashesorthogonalEnd
orthogonalStart i boundarySashesstart splitviewsashesi
orthogonalEnd i childrenlength boundarySashesend splitviewsashesi
_onDidChange
onDidChildrenChange EventEventchildrenc conDidChange
childrenChangeDisposable
childrenChangeDisposable _onDidChangefire _onDidChange
onDidChildrenSashReset Eventchildrenc i EventconDidSashReset location i location
childrenSashResetDisposable
childrenSashResetDisposable _onDidSashResetfire _onDidSashReset
onDidScroll EventEventsplitviewonDidScroll childrenc conDidScroll
onDidScrollDisposable
onDidScrollDisposable _onDidScrollfire _onDidScroll
childrenVisibilityChangeDisposable
childrenchild index
child
childrenVisibilityChangeDisposablechildvisible
index visible
other BranchNode IDisposable
childrenlength otherchildrenlength
DisposableNone
other
DisposableNone
firstChild secondChild children
otherFirstChild otherSecondChild otherchildren
firstChild secondChild
DisposableNone
otherFirstChild otherSecondChild
DisposableNone
orientation Orientation
secondChildlinkedWidthNode otherFirstChildlinkedHeightNode firstChild
firstChildlinkedWidthNode otherSecondChildlinkedHeightNode secondChild
otherSecondChildlinkedWidthNode firstChildlinkedHeightNode otherFirstChild
otherFirstChildlinkedWidthNode secondChildlinkedHeightNode otherSecondChild
otherFirstChildlinkedWidthNode secondChildlinkedHeightNode firstChild
otherSecondChildlinkedWidthNode firstChildlinkedHeightNode secondChild
firstChildlinkedWidthNode otherSecondChildlinkedHeightNode otherFirstChild
secondChildlinkedWidthNode otherFirstChildlinkedHeightNode otherSecondChild
mySash splitviewsashes
otherSash othersplitviewsashes
mySashlinkedSash otherSash
otherSashlinkedSash mySash
_onDidChange
other_onDidChange
mySashlinkedSash otherSashlinkedSash
firstChildlinkedHeightNode firstChildlinkedWidthNode
secondChildlinkedHeightNode secondChildlinkedWidthNode
otherFirstChildlinkedHeightNode otherFirstChildlinkedWidthNode
otherSecondChildlinkedHeightNode otherSecondChildlinkedWidthNode
splitviewstartSnappingEnabled _edgeSnapping _absoluteOrthogonalOffset
splitviewendSnappingEnabled _edgeSnapping _absoluteOrthogonalOffset viewminimumWidth viewmaximumWidth viewminimumHeight viewmaximumHeight
arrayEquals
_
IDisposable
_size
_size
_orthogonalSize
_orthogonalSize
absoluteOffset
absoluteOrthogonalOffset
onDidScroll Event EventNone
onDidSashReset EventGridLocation EventNone
_onDidLinkedWidthNodeChange
_linkedWidthNode LeafNode
LeafNode _linkedWidthNode
node LeafNode
_onDidLinkedWidthNodeChangeinput node node_onDidViewChange EventNone
_linkedWidthNode node
_onDidSetLinkedNode
_onDidLinkedHeightNodeChange
_linkedHeightNode LeafNode
LeafNode _linkedHeightNode
node LeafNode
_onDidLinkedHeightNodeChangeinput node node_onDidViewChange EventNone
_linkedHeightNode node
_onDidSetLinkedNode
_onDidSetLinkedNode
_onDidViewChange Event
onDidChange Event
disposables
view IView
orientation Orientation
layoutController LayoutController
orthogonalSize
size
_orthogonalSize orthogonalSize
_size size
onDidChange view
_onDidViewChange EventonDidChange e e orientation Orientation ewidth eheight disposables
onDidChange Event_onDidViewChange _onDidSetLinkedNodeevent _onDidLinkedWidthNodeChangeevent _onDidLinkedHeightNodeChangeevent
orientation Orientation orthogonalSize size
orientation Orientation size orthogonalSize
orientation Orientation absoluteOffset absoluteOrthogonalOffset
orientation Orientation absoluteOrthogonalOffset absoluteOffset
HTMLElement
viewelement
linkedWidthNode MathlinkedWidthNodeviewminimumWidth viewminimumWidth viewminimumWidth
linkedWidthNode MathlinkedWidthNodeviewmaximumWidth viewmaximumWidth viewmaximumWidth
linkedHeightNode MathlinkedHeightNodeviewminimumHeight viewminimumHeight viewminimumHeight
linkedHeightNode MathlinkedHeightNodeviewmaximumHeight viewmaximumHeight viewmaximumHeight
orientation Orientation minimumHeight minimumWidth
orientation Orientation maximumHeight maximumWidth
LayoutPriority
viewpriority
viewproportionalLayout
viewsnap
orientation Orientation minimumWidth minimumHeight
orientation Orientation maximumWidth maximumHeight
_boundarySashes IRelativeBoundarySashes
IRelativeBoundarySashes _boundarySashes
boundarySashes IRelativeBoundarySashes
_boundarySashes boundarySashes
viewsetBoundarySashesboundarySashes orientation
size offset ctx ILayoutContext
layoutControllerisLayoutEnabled
ctx
_size size
_orthogonalSize ctxorthogonalSize
absoluteOffset ctxabsoluteOffset offset
absoluteOrthogonalOffset ctxabsoluteOrthogonalOffset
width height top left
cachedWidth
cachedHeight
cachedTop
cachedLeft
width height top left
cachedWidth width cachedHeight height cachedTop top cachedLeft left
cachedWidth width
cachedHeight height
cachedTop top
cachedLeft left
viewwidth height top left
visible
viewsetVisiblevisible
_onDidSetLinkedNode
disposables
BranchNode LeafNode
node Node
visible
node BranchNode size orthogonalSize BranchNode
node LeafNode size orthogonalSize LeafNode
node Node size orthogonalSize Node
node Node size orthogonalSize Node
node
result nodeorientation nodelayoutController nodestyles nodesplitviewProportionalLayout size orthogonalSize nodeedgeSnapping
totalSize
i nodechildrenlength i i
child nodechildreni
childSize child childorthogonalSize childsize
newSize nodesize Mathsize childSize nodesize
totalSize newSize
i
newSize size totalSize
resultchild orthogonalSize newSize newSize
node
result
result nodeview nodeorientation nodelayoutController orthogonalSize
node
result
element HTMLElement
styles IGridViewStyles
proportionalLayout
_root BranchNode
onDidSashResetRelay
_onDidScroll
_onDidChange
_boundarySashes IBoundarySashes
layoutController LayoutController
disposable2x2 IDisposable DisposableNone
BranchNode _root
root BranchNode
oldRoot _root
oldRoot
oldRootelement
oldRoot
_root root
elementrootelement
onDidSashResetRelayinput rootonDidSashReset
_onDidChangeinput EventrootonDidChange
_onDidScrollinput rootonDidScroll
onDidSashReset onDidSashResetRelayevent
onDidScroll _onDidScrollevent
onDidChange _onDidChangeevent
rootwidth
rootheight
rootminimumWidth
rootminimumHeight
rootmaximumHeight
rootmaximumHeight
Orientation _rootorientation
IBoundarySashes _boundarySashes
orientation Orientation
_rootorientation orientation
size orthogonalSize absoluteOffset absoluteOrthogonalOffset _root
root _root orthogonalSize size
rootsize orthogonalSize absoluteOffset absoluteOrthogonalOffset absoluteOrthogonalOffset absoluteOffset absoluteSize size absoluteOrthogonalSize orthogonalSize
boundarySashes boundarySashes
boundarySashes IBoundarySashes
_boundarySashes boundarySashes
rootboundarySashes boundarySashes orientation
edgeSnapping
rootedgeSnapping edgeSnapping
maximizedNode LeafNode
_onDidChangeViewMaximized
onDidChangeViewMaximized _onDidChangeViewMaximizedevent
options IGridViewOptions
element
styles optionsstyles defaultStyles
proportionalLayout optionsproportionalLayout optionsproportionalLayout
layoutController
root Orientation layoutController styles proportionalLayout
styles IGridViewStyles
styles styles
rootstyles
width height top left
layoutControllerisLayoutEnabled
size orthogonalSize offset orthogonalOffset rootorientation Orientation height width top left width height left top
rootsize orthogonalSize absoluteOffset offset absoluteOrthogonalOffset orthogonalOffset absoluteSize size absoluteOrthogonalSize orthogonalSize
view IView size Sizing location GridLocation
disposable2x2
disposable2x2 DisposableNone
rest index location
pathToParent parent rest
parent
node view parentorientation layoutController parentorthogonalSize
parentnode size index
err
node
err
grandParent pathToParent
parentIndex rest
newSiblingSize Sizing
newSiblingCachedVisibleSize grandParentparentIndex
newSiblingCachedVisibleSize
newSiblingSize SizingnewSiblingCachedVisibleSize
oldChild grandParentparentIndex
oldChild
newParent parentorientation parentlayoutController styles proportionalLayout parentsize parentorthogonalSize grandParentedgeSnapping
grandParentnewParent parentsize parentIndex
newSibling parentview grandParentorientation layoutController parentsize
newParentnewSibling newSiblingSize
size sizetype
size Sizing
node view grandParentorientation layoutController parentsize
newParentnode size index
location GridLocation sizing DistributeSizing AutoSizing IView
disposable2x2
disposable2x2 DisposableNone
rest index location
pathToParent parent rest
parent
node parentchildrenindex
node
parentindex sizing
node
parentchildrenlength
parentchildrenlength
nodeview
pathToParentlength
sibling parentchildren
sibling
nodeview
parent
parent
root sibling
boundarySashes boundarySashes
nodeview
grandParent pathToParent
parentIndex rest
isSiblingVisible parent
sibling parent
sizes grandParentchildren_ i grandParenti
grandParentparentIndex sizing
parent
sibling
sizesparentIndex siblingchildrenc csize
siblingChildren sibling
i i siblingChildrenlength i
grandParentsiblingChildreni siblingChildrenisize parentIndex i
newSibling siblingview siblingorientation layoutController siblingsize
sizing isSiblingVisible siblingorthogonalSize SizingsiblingorthogonalSize
grandParentnewSibling sizing parentIndex
sibling
i i sizeslength i
grandParenti sizesi
nodeview
parentLocation GridLocation from to
parent parentLocation
parent
parentfrom to
from GridLocation to GridLocation
fromRest fromIndex from
fromParent fromRest
fromParent
fromSize fromParentfromIndex
fromNode fromParentchildrenfromIndex
fromNode
toRest toIndex to
toParent toRest
toParent
toSize toParenttoIndex
toNode toParentchildrentoIndex
toNode
fromParent toParent
fromParentfromIndex toIndex
fromParentfromIndex
toParenttoIndex
fromParenttoNode fromSize fromIndex
toParentfromNode toSize toIndex
location GridLocation size PartialIViewSize
rest index location
pathToParent parent rest
parent
sizewidth sizeheight
parentSize grandParentSize parentorientation Orientation sizewidth sizeheight sizeheight sizewidth
grandParentSize pathToParentlength
grandParent pathToParent
parentIndex rest
grandParentparentIndex grandParentSize
parentSize
parentindex parentSize
location GridLocation IViewSize
location
width rootwidth height rootheight
node location
width nodewidth height nodeheight
location GridLocation
rest index location
parent rest
parent
parentindex
location GridLocation
ancestors node location
node
i i ancestorslength i
ancestorsilocationi Number
location GridLocation
ancestors node location
node
i i ancestorslength i
ancestorsilocationi
location GridLocation excludeViews IView
nodeToMaximize location
nodeToMaximize
maximizedNode nodeToMaximize
excludeViewSet excludeViews
parent BranchNode exclude LeafNode
i i parentchildrenlength i
child parentchildreni
child
child exclude excludeViewSetchildview
parenti
child exclude
root nodeToMaximize
maximizedNode nodeToMaximize
_onDidChangeViewMaximized
maximizedNode
maximizedNode
parent BranchNode
index parentchildrenlength index index
child parentchildrenindex
child
parentindex
child
root
_onDidChangeViewMaximized
maximizedNode
location GridLocation
node location
node
node maximizedNode
location GridLocation
location
root
node location
node
node
location GridLocation
rest index location
parent rest
parent
parentindex
location GridLocation visible
rest index location
parent rest
parent
parentindex visible
GridBranchNode
location GridLocation GridNode
location GridLocation GridNode
node location location _root
node orientation
json ISerializedGridView deserializer IViewDeserializer options IGridViewOptions GridView
jsonorientation
jsonwidth
jsonheight
jsonroottype
orientation jsonorientation
height jsonheight
result options
resultjsonroot orientation deserializer height
result
root ISerializedBranchNode orientation Orientation deserializer IViewDeserializerISerializableView orthogonalSize
root root orientation deserializer orthogonalSize BranchNode
node ISerializedNode orientation Orientation deserializer IViewDeserializerISerializableView orthogonalSize Node
result Node
nodetype
serializedChildren nodedata
children serializedChildrenserializedChild
node serializedChild orientation deserializer nodesize
visible serializedChild visible visible
satisfies INodeDescriptor
result orientation layoutController styles proportionalLayout nodesize orthogonalSize children
result deserializernodedata orientation layoutController orthogonalSize nodesize
nodemaximized maximizedNode
maximizedNode result
_onDidChangeViewMaximized
result
node Node orientation Orientation cachedVisibleSize GridNode
box top nodetop left nodeleft width nodewidth height nodeheight
node
view nodeview box cachedVisibleSize maximized maximizedNode node
children GridNode
i i nodechildrenlength i
child nodechildreni
cachedVisibleSize nodei
childrenchild orientation cachedVisibleSize
children box
location GridLocation node Node root path BranchNode BranchNode Node
locationlength
path node
node
index rest location
index index nodechildrenlength
child nodechildrenindex
pathnode
rest child path
disposable2x2
disposable2x2 DisposableNone
rootchildrenlength
first second rootchildren
first second
disposable2x2 firstsecond
map MapIView HTMLElement node Node
node
node root
node
nodechildrenchild map child
mapnodeview nodeelement
_onDidChangeViewMaximized
onDidSashResetRelay
root
element