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 './media/mobileOverlayViews.css';
import './media/mobileMultiDiffView.css';
import * as DOM from '../../../../../base/browser/dom.js';
import { Disposable, DisposableStore, toDisposable } from '../../../../../base/common/lifecycle.js';
import { Emitter, Event } from '../../../../../base/common/event.js';
import { Gesture, EventType as TouchEventType } from '../../../../../base/browser/touch.js';
import { Codicon } from '../../../../../base/common/codicons.js';
import { ThemeIcon }
localize
IFileService
ITextFileService
basename dirname
ILanguageService
TokenizationRegistry
generateTokensCSSForColorMap
IFileDiffViewData
computeUnifiedDiff hasMultipleTokenClasses regexTokenizeLines resolveMobileDiffLanguageId tokenizeFileLines
computeMobileMultiDiffItemHeight computeMobileMultiDiffVirtualLayout
$ $
IMobileMultiDiffVirtualizerMetrics
fileHeaderHeight
hunkHeaderHeight
rowHeight
bodyVerticalPadding
placeholderHeight
diffs IFileDiffViewData
initialIndex
computeDiff originalText modifiedText IDiffHunk
IMobileMultiDiffBodyHunkEntry IMobileMultiDiffBodyLineEntry
top
height
type
header
type
line IDiffLine
bodyEntries MobileMultiDiffBodyEntry
bodyHeight
maxLineCharacterCount
origLines
modLines
hasRealTokens
index
diff IFileDiffViewData
section HTMLElement
content HTMLElement
sectionStore DisposableStore
collapsed
loadState MobileMultiDiffFileLoadState
loadKind MobileMultiDiffFileLoadKind
loadRequestId
estimatedHunkCount
estimatedRowCount
hunkCount
rowCount
renderData IMobileMultiDiffFileRenderData
bodyScrollTop
bodyViewportHeight
fileMessage HTMLElement
bodyInner HTMLElement
renderedBodyRows Map HTMLElement
renderedBodyStartIndex
renderedBodyEndIndex
_onDidDispose
onDidDispose Event _onDidDisposeevent
viewStore
disposed
renderGeneration
scrollWrapper HTMLElement
virtualContent HTMLElement
layoutAnimationFrame
loadVisibleAnimationFrame
prefetchAnimationFrame
currentLayout ReturnType computeMobileMultiDiffVirtualLayout
mountedIndexes
fileStates IMobileMultiDiffFileState
workbenchContainer HTMLElement
data IMobileMultiDiffViewData
textFileService ITextFileService
fileService IFileService
languageService ILanguageService
fileStates datadiffsdiff index
index
diff
section
content
sectionStore
collapsed
loadState
loadKind
loadRequestId
estimatedHunkCount diffidentical diffadded diffremoved
estimatedRowCount diffadded diffremoved
hunkCount
rowCount
renderData
bodyScrollTop
bodyViewportHeight
fileMessage
bodyInner
renderedBodyRows
renderedBodyStartIndex
renderedBodyEndIndex
workbenchContainer
renderGeneration
workbenchContainer HTMLElement
overlay workbenchContainer
viewStoreoverlay EventType e e
viewStore overlay
topBar overlay
backBtn topBar type HTMLButtonElement
backBtn
backBtn classListThemeIconCodiconchevronLeft
viewStoreGesturebackBtn
viewStorebackBtn EventType
viewStorebackBtn TouchEventTypeTap
fileCount topBar
fileCounttextContent
datadiffslength
datadiffslength
body overlay
scrollWrapper body
virtualContent scrollWrapper
viewStorescrollWrapper EventType passive
datainitialIndex datainitialIndex
scrollWrapper
disposed
scrollWrapperscrollTop datainitialIndex
uri
parent uri
parentPath parentpath
parentPath parentPath
segments parentPaths slength
segmentslength
tail segments
prefix segmentslength
state IMobileMultiDiffFileState section HTMLElement content HTMLElement store DisposableStore
diff statediff
store
section
sectiondatasetindex stateindex
header section
fileNameUri diffmodifiedURI difforiginalURI
fileName fileNameUri fileNameUri
dirPath fileNameUri fileNameUri
chevronEl header
role
tabindex
chevronElclassListThemeIconCodiconchevronDown
chevronEl fileName
nameEl header
dirPath
nameEl textContent dirPath
nameEl textContent fileName
statsEl header
diffidentical
diffadded
statsEl textContent
diffremoved
statsEl textContent
content section
loadingEl content
loadingEltextContent
e UIEvent
e
statecollapsed statecollapsed
sectionclassList statecollapsed
chevronEl statecollapsed
chevronElclassListThemeIconstatecollapsed CodiconchevronDown CodiconchevronRight
chevronElclassListThemeIconstatecollapsed CodiconchevronRight CodiconchevronDown
statecollapsed
storeGestureheader
storeheader EventType toggle
storeheader TouchEventTypeTap e e e
storechevronEl EventType e KeyboardEvent
ekey ekey
e
e
section content store
state IMobileMultiDiffFileState HTMLElement
statesection statecontent
section content store state
statesection section
statecontent content
statesectionStore store
state
statesection
state IMobileMultiDiffFileState
statesectionStore
statesectionStore
statesection
statesection
statecontent
state
disposed
layoutAnimationFrame
targetWindow scrollWrapper
layoutAnimationFrame targetWindow
layoutAnimationFrame
disposed
viewportHeight scrollWrapperclientHeight
layout viewportHeight
currentLayout layout
virtualContentstyleheight
visibleIndexes layoutitemsitem itemindex
visibleIndexes
index mountedIndexes
visibleIndexesindex
fileStatesindex
mountedIndexesindex
previousSection HTMLElement
item layoutitems
state fileStatesitemindex
section state
section state item viewportHeight
mountedIndexesitemindex
mountedIndexesitemindex
section previousSection
previousSection section
section HTMLElement previousSection HTMLElement
referenceNode previousSection previousSectionnextSibling virtualContentfirstChild
section referenceNode
virtualContentsection referenceNode
section HTMLElement state IMobileMultiDiffFileState item IMobileMultiDiffVirtualItemLayout viewportHeight
sectionstyletop
sectionstyleheight
bodyOffset Math iteminnerOffset fileHeaderHeight
statebodyScrollTop bodyOffset
statebodyViewportHeight Math viewportHeight fileHeaderHeight
content statecontent
contentclassList stateloadState
stateloadState
contentstyleheight
contentstyletransform
state viewportHeight
bodyHeight Math itemrenderHeight fileHeaderHeight
placeholderHeight Math
bodyHeight placeholderHeight
MathplaceholderHeight statebodyViewportHeight
contentstyleheight
contentstyletransform
state placeholderHeight
state IMobileMultiDiffFileState
statecontent
stateloadState
state
state
state
state
state IMobileMultiDiffFileState message
statecontent
statecontent
state
empty statecontent
statefileMessage empty
emptytextContent message
state
state IMobileMultiDiffFileState placeholderHeight
statecontent
empty statefileMessage
empty emptyparentElement statecontent
bodyHeight Numberstatecontentstyleheight placeholderHeight
visibleHeight placeholderHeight Math
bodyHeight
MathplaceholderHeight statebodyViewportHeight
emptystyleheight
state IMobileMultiDiffFileState viewportHeight scrollWrapperclientHeight
statecontent staterenderData
bodyOverscan MathviewportHeight
visibleTop Math statebodyScrollTop bodyOverscan
visibleBottom Math
staterenderDatabodyHeight
statebodyScrollTop statebodyViewportHeight bodyOverscan
startIndex endIndex staterenderDatabodyEntries visibleTop visibleBottom
inner state
staterenderedBodyStartIndex startIndex staterenderedBodyEndIndex endIndex
innerstyleheight
innerstyleminWidth
state startIndex endIndex
staterenderedBodyStartIndex startIndex
staterenderedBodyEndIndex endIndex
state IMobileMultiDiffFileState IMobileMultiDiffVirtualItem
collapsed statecollapsed
state stateloadState stateloadState
estimatedHunkCount stateestimatedHunkCount
estimatedRowCount stateestimatedRowCount
hunkCount statehunkCount
rowCount staterowCount
viewportHeight ReturnType computeMobileMultiDiffVirtualLayout
fileStatesstate state
viewportHeight
scrollTop scrollWrapperscrollTop
overscan MathviewportHeight
metrics
index
top
end Mathindex fileStateslength
i i end i
top fileStatesi
top
disposed loadVisibleAnimationFrame
targetWindow scrollWrapper
loadVisibleAnimationFrame targetWindow
loadVisibleAnimationFrame
loadVisibleAnimationFrame
scrollWrapperloadVisibleAnimationFrame
loadVisibleAnimationFrame
disposed prefetchAnimationFrame
targetWindow scrollWrapper
prefetchAnimationFrame targetWindow
prefetchAnimationFrame
prefetchAnimationFrame
scrollWrapperprefetchAnimationFrame
prefetchAnimationFrame
disposed
loadingCount fileStatescount state count stateloadState
loadingCount
layout currentLayout
layout
viewportTop scrollWrapperscrollTop
viewportBottom viewportTop scrollWrapperclientHeight
nextState IMobileMultiDiffFileState
nextDistance Number
item layoutitems
state fileStatesitemindex
stateloadState statecollapsed
itemTop itemvirtualTop
itemBottom itemvirtualTop itemvirtualHeight
distance itemBottom viewportTop
viewportTop itemBottom
itemTop viewportBottom
itemTop viewportBottom
distance nextDistance
nextState state
nextDistance distance
nextState
nextState
disposed
layout currentLayout
layout
mountedIndexes layoutitemsitem itemindex
layoutitemsitem
state fileStatesitemindex
statecollapsed stateloadState
loadingCount fileStatescount state count stateloadState
prefetchLoadingCount fileStatescount state count stateloadState stateloadKind
loadingCount prefetchLoadingCount
viewportTop scrollWrapperscrollTop
viewportBottom viewportTop scrollWrapperclientHeight
prefetchDistance Math scrollWrapperclientHeight
virtualTop
nextState IMobileMultiDiffFileState
nextDistance Number
state fileStates
virtualHeight state
virtualBottom virtualTop virtualHeight
mountedIndexesstateindex statecollapsed stateloadState
distance virtualBottom viewportTop
viewportTop virtualBottom
virtualTop viewportBottom
virtualTop viewportBottom
distance prefetchDistance distance nextDistance
nextState state
nextDistance distance
virtualTop virtualBottom
nextState
nextState
state IMobileMultiDiffFileState loadKind MobileMultiDiffFileLoadKind
stateloadState
stateloadState
stateloadKind loadKind
stateloadRequestId
state
generation renderGeneration
loadRequestId stateloadRequestId
state generation loadRequestId
state generation loadRequestId
stateloadState
stateloadKind
state
disposed generation renderGeneration stateloadRequestId loadRequestId
state IMobileMultiDiffFileState generation loadRequestId
disposed
generation renderGeneration
stateloadRequestId loadRequestId
stateloadState
visibleIndexes ReadonlySet
state fileStates
stateloadState stateloadKind visibleIndexesstateindex
stateloadRequestId
stateloadState
stateloadKind
staterenderData
statehunkCount
staterowCount
state
state
state IMobileMultiDiffFileState generation loadRequestId
diff statediff
diffidentical
state generation loadRequestId
stateloadState
stateloadKind
staterenderData
statehunkCount
staterowCount
state
languageId languageService diff
originalText modifiedText
difforiginalURI
diffmodifiedURI
state generation loadRequestId
hunks datacomputeDifforiginalText modifiedText originalText modifiedText
state generation loadRequestId
hunkslength
stateloadState
stateloadKind
staterenderData
statehunkCount
staterowCount
state
origLineHtml modLineHtml
languageService originalText languageId
languageService modifiedText languageId
state generation loadRequestId
hasRealTokens origLineHtml modLineHtml
origLines hasRealTokens origLineHtml originalText languageId
modLines hasRealTokens modLineHtml modifiedText languageId
state generation loadRequestId
stateloadState
stateloadKind
statehunkCount hunkslength
staterowCount hunkscount hunk count hunklineslength
bodyEntries bodyHeight maxLineCharacterCount hunks
staterenderData bodyEntries bodyHeight maxLineCharacterCount origLines modLines hasRealTokens
state
state
resource
resource
model textFileServiceresource acceptTextOnly
modelvalue
file fileServiceresource
filevalue
hunks IDiffHunk bodyEntries MobileMultiDiffBodyEntry bodyHeight maxLineCharacterCount
bodyEntries MobileMultiDiffBodyEntry
top
maxLineCharacterCount
hunk hunks
bodyEntries
type
header hunkheader
top
height hunkHeaderHeight
top hunkHeaderHeight
line hunklines
maxLineCharacterCount MathmaxLineCharacterCount linetextlength
bodyEntries
type
line
top
height rowHeight
top rowHeight
bodyEntries bodyHeight top maxLineCharacterCount
entries MobileMultiDiffBodyEntry
visibleTop
visibleBottom
startIndex endIndex
entrieslength visibleBottom visibleTop
startIndex endIndex
startIndex entries visibleTop
endIndex entries visibleBottom
startIndex endIndex MathstartIndex endIndex
entries MobileMultiDiffBodyEntry offset
low
high entrieslength
low high
mid Mathlow high
entriesmidtop entriesmidheight offset
low mid
high mid
low
entries MobileMultiDiffBodyEntry offset
low
high entrieslength
low high
mid Mathlow high
entriesmidtop offset
low mid
high mid
low
state IMobileMultiDiffFileState HTMLElement
statebodyInner statebodyInnerparentElement statecontent
statebodyInner
statecontent staterenderData
statecontent
state
inner statecontent
innerstyleheight
innerstyleminWidth
colorMap TokenizationRegistry
colorMap staterenderDatahasRealTokens
styleEl document
styleEltextContent colorMap
innerstyleEl
statebodyInner inner
inner
state IMobileMultiDiffFileState
statefileMessage
statebodyInner
staterenderedBodyRows
staterenderedBodyStartIndex
staterenderedBodyEndIndex
state IMobileMultiDiffFileState startIndex endIndex
statebodyInner staterenderData
index element staterenderedBodyRows
index startIndex index endIndex
element
staterenderedBodyRowsindex
runStart
runEnd startIndex
index startIndex index endIndex index
staterenderedBodyRowsindex
runStart
state runStart runEnd
runStart
runStart index
runEnd index
runStart
state runStart runEnd
state IMobileMultiDiffFileState startIndex endIndex
statebodyInner staterenderData
htmlParts
index startIndex index endIndex index
htmlPartsindex staterenderDatabodyEntriesindex staterenderDataorigLines staterenderDatamodLines
template document
templateinnerHTML htmlParts
insertedElements templatecontentchildren HTMLElement
element insertedElements
index elementdatasetentryIndex
Numberindex
staterenderedBodyRowsindex element
statebodyInnertemplatecontent state endIndex
state IMobileMultiDiffFileState startIndex HTMLElement
index startIndex index staterenderDatabodyEntrieslength index
element staterenderedBodyRowsindex
element
element
index
entry MobileMultiDiffBodyEntry
origLineHtml
modLineHtml
style
entrytype
line entryline
lineNumber linelineNum linelineNum
gutter linetype linetype
content line origLineHtml modLineHtml
line IDiffLine origLineHtml modLineHtml
linelineNum
source linetype modLineHtml origLineHtml
html sourcelinelineNum
html
html
linetext
value
value char
char
char
override
disposed
layoutAnimationFrame
scrollWrapperlayoutAnimationFrame
layoutAnimationFrame
loadVisibleAnimationFrame
prefetchAnimationFrame
state fileStates
state
mountedIndexes
_onDidDispose
viewStore