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 { groupBy } from '../../../../../base/common/collections.js';
import { onUnexpectedError } from '../../../../../base/common/errors.js';
import { Emitter, Event } from '../../../../../base/common/event.js';
import { Disposable, DisposableStore } from '../../../../../base/common/lifecycle.js';
import { clamp } from '../../../../../base/common/numbers.js';
import * as strings from '../../../../../base/common/strings.js';
import { URI } from '../../../../../base/common/uri.js';
IBulkEditService ResourceTextEdit
Range
editorCommon
IWorkspaceTextEdit
FindMatch IModelDecorationOptions IModelDeltaDecoration TrackedRangeStickiness
MultiModelEditStackElement SingleModelEditStackElement
IntervalNode IntervalTree
ModelDecorationOptions
ITextModelService
FoldingRegions
IInstantiationService
IUndoRedoService
CellFindMatchModel
CellEditState CellFindMatchWithIndex CellFoldingState EditorFoldingStateDelegate ICellModelDecorations ICellModelDeltaDecorations ICellViewModel IModelDecorationsChangeAccessor INotebookDeltaCellStatusBarItems INotebookEditorViewState INotebookViewCellsUpdateEvent INotebookViewModel INotebookDeltaDecoration isNotebookCellDecoration INotebookDeltaViewZoneDecoration
NotebookLayoutInfo NotebookMetadataChangedEvent
NotebookCellSelectionCollection
CodeCellViewModel
MarkupCellViewModel
ViewContext
NotebookCellTextModel
NotebookTextModel
CellKind ICell INotebookFindOptions ISelectionState NotebookCellsChangeType NotebookCellTextModelSplice NotebookFindScopeType SelectionStateType
INotebookExecutionStateService NotebookExecutionType
cellIndexesToRanges cellRangesToIndexes ICellRange reduceCellRanges
_decorationsTree IntervalTree
_decorationsTree
start end filterOwnerId filterOutValidation filterFontDecorations cachedVersionId onlyMarginDecorations IntervalNode
r1 _decorationsTreestart end filterOwnerId filterOutValidation filterFontDecorations cachedVersionId onlyMarginDecorations
r1
filterOwnerId filterOutValidation filterFontDecorations overviewRulerOnly cachedVersionId onlyMarginDecorations IntervalNode
_decorationsTreefilterOwnerId filterOutValidation filterFontDecorations cachedVersionId onlyMarginDecorations
ownerId IntervalNode
r1 _decorationsTreeownerId
r1
IntervalNode
r1 _decorationsTree
r1
node IntervalNode
_decorationsTreenode
node IntervalNode
_decorationsTreenode
node IntervalNode cachedVersionId
_decorationsTreenode cachedVersionId
offset length textLength forceMoveMarkers
_decorationsTreeoffset length textLength forceMoveMarkers
ModelDecorationOptions description stickiness TrackedRangeStickinessAlwaysGrowsWhenTypingAtEdges
ModelDecorationOptions description stickiness TrackedRangeStickinessNeverGrowsWhenTypingAtEdges
ModelDecorationOptions description stickiness TrackedRangeStickinessGrowsOnlyWhenTypingBefore
ModelDecorationOptions description stickiness TrackedRangeStickinessGrowsOnlyWhenTypingAfter
options IModelDecorationOptions ModelDecorationOptions
options
options
ModelDecorationOptionsoptions
isReadOnly
INotebookViewModel
_localStore
_handleToViewCellMapping
NotebookViewModelOptions _options
_onDidChangeOptions
Event _onDidChangeOptionsevent
_viewCells CellViewModel
ICellViewModel
_viewCells
_viewCellslength
_notebook
_notebookuri
_notebookmetadata
viewType
_onDidChangeViewCells
EventINotebookViewCellsUpdateEvent _onDidChangeViewCellsevent
_lastNotebookEditResource
_lastNotebookEditResourcelength
_lastNotebookEditResource_lastNotebookEditResourcelength
NotebookLayoutInfo
_layoutInfo
_onDidChangeSelection
Event _onDidChangeSelectionevent
_selectionCollection
handlesSet
handles
_selectionCollectionselectionsindex index length index cell
cell handlesSetcellhandle
handlesSetcellhandle
handlescellhandle
handles
selectionHandles
indexes selectionHandleshandle _viewCellscell cellhandle handle
_selectionCollectionindexes
_decorationsTree
_decorations decorationId IntervalNode Object
_lastDecorationId
_instanceId
id
_foldingRanges FoldingRegions
_onDidFoldingStateChanged
onDidFoldingStateChanged Event _onDidFoldingStateChangedevent
_hiddenRanges ICellRange
_focused
_focused
_decorationIdToCellMap
_statusBarItemIdToCellMap
_lastOverviewRulerDecorationId
_overviewRulerDecorations
viewType
_notebook NotebookTextModel
_viewContext ViewContext
_layoutInfo NotebookLayoutInfo
_options NotebookViewModelOptions
_instantiationService IInstantiationService
_bulkEditService IBulkEditService
_undoService IUndoRedoService
_textModelService ITextModelService
notebookExecutionStateService INotebookExecutionStateService
id
_instanceId strings
changes NotebookCellTextModelSpliceICell synchronous
diffs changessplice
splice splice splicecell
_instantiationService cell NotebookCellTextModel _viewContext
CellViewModel
diffsdiff
deletedCells _viewCellsdiff diff diff
_decorationsTreediff diff difflength
deletedCellscell
_handleToViewCellMappingcellhandle
_localStorecell
diffcell
_handleToViewCellMappingcellhandle cell
_localStorecell
selectionHandles selectionHandles
_onDidChangeViewCells
synchronous synchronous
splices diffs
endSelectionHandles
selectionHandleslength
primaryHandle selectionHandles
primarySelectionIndex _viewCellsprimaryHandle
endSelectionHandles primaryHandle
delta
i i diffslength i
diff diffs
diff diff primarySelectionIndex
delta difflength diff
diff primarySelectionIndex
endSelectionHandles primaryHandle
diff diff primarySelectionIndex
endSelectionHandles _viewCellsdiff deltahandle
selectionIndexes endSelectionHandleshandle _viewCellscell cellhandle handle
_selectionCollectionselectionIndexes selectionIndexes
_notebooke
i i erawEventslength i
change erawEventsi
changes NotebookCellTextModelSpliceICell
synchronous esynchronous
changekind NotebookCellsChangeTypeModelChange changekind NotebookCellsChangeTypeInitialize
changes changechanges
changes synchronous
changekind NotebookCellsChangeTypeMove
changeindex changelength synchronous
changenewIdx changecells synchronous
_notebookcontentChanges
contentChangesrawEventse
ekind NotebookCellsChangeTypeChangeDocumentMetadata
_viewContexteventDispatcher _notebookmetadata
contentChangesendSelectionState
contentChangesendSelectionState
_viewContexteventDispatchere
_layoutInfo evalue
_viewCellscell
cellcellKind CellKindMarkup
esourcewidth esourcefontInfo
cell outerWidth evaluewidth font evaluefontInfo
esourcewidth
cell outerWidth evaluewidth font evaluefontInfo
_viewContextnotebookOptionse
i i length i
cell _viewCellsi
celle
notebookExecutionStateServicee
etype NotebookExecutionTypecell
cell ecellHandle
cell
celle
_selectionCollectione
_onDidChangeSelectione
viewCellCount isRepl _notebookcellslength _notebookcellslength
i i viewCellCount i
_viewCells_instantiationService _notebookcellsi _viewContext
_viewCellscell
_handleToViewCellMappingcellhandle cell
newOptions PartialNotebookViewModelOptions
_options _options newOptions
_viewCellscell cell _optionsisReadOnly
_onDidChangeOptions
_selectionCollectionfocus
_selectionCollectionselections
ICellViewModel
handle notebookExecutionStateService_notebookuri
handle handle
focused
_focused focused
cellRange ICellRange ICellRange
cellRange
start cellRangestart length
end cellRangeend length
start end
start end
start end end start
state ISelectionState source
_focused source
statekind SelectionStateTypeHandle
primaryIndex stateprimary stateprimary
primarySelection primaryIndex start primaryIndex end primaryIndex
selections stateselectionssel sel
range range
range range ICellRange
_selectionCollectionprimarySelection selections source
primarySelection statefocus
selections stateselections
range range
range range ICellRange
_selectionCollectionprimarySelection selections source
index
_foldingRanges
range _foldingRangesindex
startIndex _foldingRangesrange
startIndex
index CellFoldingState
_foldingRanges
CellFoldingStateNone
range _foldingRangesindex
startIndex _foldingRangesrange
startIndex index
CellFoldingStateNone
_foldingRangesrange CellFoldingStateCollapsed CellFoldingStateExpanded
index
_foldingRanges
range _foldingRangesindex
startIndex _foldingRangesrange
endIndex _foldingRangesrange
endIndex startIndex
ranges FoldingRegions
_foldingRanges ranges
updateHiddenAreas
newHiddenAreas ICellRange
i
k
lastCollapsedStart Number
lastCollapsedEnd
i rangeslength i
rangesi
startLineNumber rangesi
endLineNumber rangesi
lastCollapsedStart startLineNumber endLineNumber lastCollapsedEnd
updateHiddenAreas k _hiddenRangeslength _hiddenRangeskstart startLineNumber _hiddenRangeskend endLineNumber
newHiddenAreas_hiddenRangesk
k
updateHiddenAreas
newHiddenAreas start startLineNumber end endLineNumber
lastCollapsedStart startLineNumber
lastCollapsedEnd endLineNumber
updateHiddenAreas k _hiddenRangeslength
_hiddenRanges newHiddenAreas
_onDidFoldingStateChanged
_viewCellscell
cellcellKind CellKindMarkup
cell
_hiddenRanges
INotebookDeltaViewZoneDecoration
_overviewRulerDecorations
handle
_handleToViewCellMappinghandle
handle
_viewCellscell cellhandle handle
cell ICellViewModel
_viewCellscell CellViewModel
index CellViewModel
_viewCellsindex
range ICellRange ReadonlyArrayICellViewModel
range
_viewCells
validatedRange range
validatedRange
result ICellViewModel
i validatedRangestart i validatedRangeend i
result_viewCellsi
result
index
i _hiddenRangeslength i i
cellRange _hiddenRangesi
foldStart cellRangestart
foldEnd cellRangeend
foldStart index
foldStart index foldEnd index
index
index
index
i i _hiddenRangeslength i
cellRange _hiddenRangesi
foldStart cellRangestart
foldEnd cellRangeend
foldEnd index
foldStart index
foldEnd
index
index
i _hiddenRangeslength i i
cellRange _hiddenRangesi
foldStart cellRangestart
foldEnd cellRangeend
foldEnd index
index
foldStart index
foldStart
index
cell ICellViewModel
_handleToViewCellMappingcellhandle
_notebookversionId
_notebookalternativeVersionId
id ICellRange
id
decorationId ICellRange
node _decorationsdecorationId
node
versionId
nodecachedVersionId versionId
_decorationsTreenode versionId
noderange
start nodecachedAbsoluteStart end nodecachedAbsoluteEnd
start noderangestartLineNumber end noderangeendLineNumber
id newRange ICellRange newStickiness TrackedRangeStickiness
node id _decorationsid
node
newRange
range newRangestart newRangeend options newStickiness
newRange
_decorationsTreenode
_decorationsnodeid
_decorationsTreenode
node newRangestart newRangeend newRangestart newRangeend
nodenewStickiness
_decorationsTreenode
nodeid
ownerId oldDecorationsIds newDecorations IModelDeltaDecoration
versionId
oldDecorationsLen oldDecorationsIdslength
oldDecorationIndex
newDecorationsLen newDecorationslength
newDecorationIndex
result newDecorationsLen
oldDecorationIndex oldDecorationsLen newDecorationIndex newDecorationsLen
node IntervalNode
oldDecorationIndex oldDecorationsLen
node _decorationsoldDecorationsIdsoldDecorationIndex
node oldDecorationIndex oldDecorationsLen
node
_decorationsTreenode
newDecorationIndex newDecorationsLen
node
internalDecorationId _lastDecorationId
decorationId
node decorationId
_decorationsdecorationId node
newDecoration newDecorationsnewDecorationIndex
range newDecorationrange
options newDecorationoptions
nodeownerId ownerId
nodeversionId rangestartLineNumber rangeendLineNumber Rangerange
nodeoptions
_decorationsTreenode
resultnewDecorationIndex nodeid
newDecorationIndex
node
_decorationsnodeid
result
oldDecorations newDecorations INotebookDeltaDecoration
oldDecorationsid
handle _decorationIdToCellMapid
handle
cell handle
cellid
_decorationIdToCellMapid
_overviewRulerDecorationsid
result
newDecorationsdecoration
decoration
cell decorationhandle
ret cell decorationoptions
retid
_decorationIdToCellMapid decorationhandle
resultret
id _lastOverviewRulerDecorationId
decorationId
_overviewRulerDecorationsdecorationId decoration
resultdecorationId
result
oldItems newItems INotebookDeltaCellStatusBarItems
deletesByHandle oldItems id _statusBarItemIdToCellMapid
result
newItemsitemDelta
cell itemDeltahandle
deleted deletesByHandleitemDeltahandle
deletesByHandleitemDeltahandle
deletedid _statusBarItemIdToCellMapid
ret celldeleted itemDeltaitems
retid
_statusBarItemIdToCellMapid itemDeltahandle
resultret
_handle deletesByHandle
handle _handle
ids deletesByHandlehandle
cell handle
cellids
idsid _statusBarItemIdToCellMapid
result
index
nearest viewCells indexcell cellcellKind CellKindCode
nearest
index nearest
nearestCellTheOtherDirection viewCellsindex cell cellcellKind CellKindCode
nearestCellTheOtherDirection
index nearestCellTheOtherDirection
INotebookEditorViewState
editingCells key
collapsedInputCells key
collapsedOutputCells key
cellLineNumberStates key
_viewCellscell i
cell CellEditStateEditing
editingCellsi
cellisInputCollapsed
collapsedInputCellsi
cell cellisOutputCollapsed
collapsedOutputCellsi
celllineNumbers
cellLineNumberStatesi celllineNumbers
editorViewStates key editorCommonICodeEditorViewState
_viewCellscell handle cellmodelhandle state cell viewState i
viewStatestate
editorViewStatesi viewStatestate
editingCells
editorViewStates
cellLineNumberStates
collapsedInputCells
collapsedOutputCells
viewState INotebookEditorViewState
viewState
_viewCellscell index
isEditing viewStateeditingCells viewStateeditingCellsindex
editorViewState viewStateeditorViewStates viewStateeditorViewStatesindex
cellisEditing CellEditStateEditing CellEditStatePreview
cellHeight viewStatecellTotalHeights viewStatecellTotalHeightsindex
celleditorViewState cellHeight
viewStatecollapsedInputCells viewStatecollapsedInputCellsindex
cellisInputCollapsed
viewStatecollapsedOutputCells viewStatecollapsedOutputCellsindex cell
cellisOutputCollapsed
viewStatecellLineNumberStates viewStatecellLineNumberStatesindex
celllineNumbers viewStatecellLineNumberStatesindex
changeAccessor IModelDecorationsChangeAccessor
changeAccessor IModelDecorationsChangeAccessor
deltaDecorations oldDecorations ICellModelDecorations newDecorations ICellModelDeltaDecorations ICellModelDecorations
oldDecorations newDecorations
result
result changeAccessor
e
e
changeAccessordeltaDecorations invalidFunc
result
oldDecorations ICellModelDecorations newDecorations ICellModelDeltaDecorations ICellModelDecorations
mapping
oldDecorationsoldDecoration
ownerId oldDecorationownerId
mappingownerId
cell _viewCellscell cellhandle ownerId
cell
mappingownerId cell cell oldDecorations newDecorations
data mappingownerId
data
dataoldDecorations oldDecorationdecorations
newDecorationsnewDecoration
ownerId newDecorationownerId
mappingownerId
cell _viewCellscell cellhandle ownerId
cell
mappingownerId cell cell oldDecorations newDecorations
data mappingownerId
data
datanewDecorations newDecorationdecorations
ret ICellModelDecorations
mappingvalue ownerId
cellRet valuecellvalueoldDecorations valuenewDecorations
ret
ownerId ownerId
decorations cellRet
ret
value options INotebookFindOptions CellFindMatchWithIndex
matches CellFindMatchWithIndex
findCells CellViewModel
optionsfindScope optionsfindScopefindScopeType NotebookFindScopeTypeCells optionsfindScopefindScopeType NotebookFindScopeTypeText
selectedRanges optionsfindScopeselectedCellRangesrange rangerange range
selectedIndexes selectedRanges
findCells selectedIndexesindex _viewCellsindex
findCells _viewCells
findCellscell index
cellMatches cellvalue options
cellMatches
matches
cellMatchescell
index
cellMatchescontentMatches
matchesmatch
matchcellcellKind CellKindCode
optionsincludeCodeInput
matchcell CellEditStateEditing
optionsincludeMarkupInput
optionsincludeMarkupPreview optionsincludeMarkupInput
cell ICellViewModel range Range text
viewCell cell CellViewModel
_lastNotebookEditResourceviewCelluri
viewCell
celluri range text
quotableLabel
matches CellFindMatchWithIndex texts
matcheslength
textEdits IWorkspaceTextEdit
_lastNotebookEditResourcematchescelluri
matchesmatch
matchcontentMatchessingleMatch index
textEdits
versionId
textEdit range singleMatch FindMatchrange text textsindex
resource matchcelluri
matchesmatch
matchcell
edits textEdits quotableLabel
element SingleModelEditStackElement MultiModelEditStackElement
viewCells _viewCellscell elementcelluri
refs viewCellscell _textModelServicecelluri
refsref ref
editStack _undoServiceuri
element editStackpastlength editStackpasteditStackpastlength
element element element
element
_undoServiceuri
element elementresource elementresources
_undoServiceuri
editStack _undoServiceuri
element editStackfuture
element element element
element
_undoServiceuri
element elementresource elementresources
_undoServiceuri
notebook NotebookTextModel
_notebook notebook
override
_localStore
_viewCellscell
cell
CodeCellViewModel MarkupCellViewModel ICellViewModel
instantiationService IInstantiationService notebookViewModel NotebookViewModel cell NotebookCellTextModel viewContext ViewContext
cellcellKind CellKindCode
instantiationServiceCodeCellViewModel notebookViewModelviewType cell notebookViewModellayoutInfo viewContext
instantiationServiceMarkupCellViewModel notebookViewModelviewType cell notebookViewModellayoutInfo notebookViewModel viewContext