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 { Emitter } from '../../../../../base/common/event.js';
import { hash } from '../../../../../base/common/hash.js';
import { Disposable } from '../../../../../base/common/lifecycle.js';
import { URI } from '../../../../../base/common/uri.js';
import { DiffEditorWidget } from '../../../../../editor/browser/widget/diffEditor/diffEditorWidget.js';
import { FontInfo } from '../../../../../editor/common/config/fontInfo.js';
import * as editorCommon from '../../../../../editor/common/editorCommon.js';
import { getEditorPadding
DiffNestedCellViewModel
NotebookDiffEditorEventDispatcher NotebookDiffViewEventType
CellDiffViewModelLayoutChangeEvent DiffSide IDiffElementLayoutInfo
CellLayoutState IGenericCellViewModel
NotebookLayoutInfo
getFormattedMetadataJSON NotebookCellTextModel
NotebookTextModel
CellUri ICellOutput INotebookTextModel IOutputDto IOutputItemDto
INotebookService
IConfigurationService
Schemas
IDiffEditorHeightCalculatorService
NotebookDocumentMetadataTextModel
PropertyHeaderHeight
HeightOfHiddenLinesRegionInDiffEditor
DefaultLineHeight
PropertyFoldingState
Expanded
Collapsed
IDiffElementLayoutInfo
rawOutputHeight
recomputeOutput
DiffElementCellViewModelBase DiffElementPlaceholderViewModel NotebookDocumentMetadataViewModel
_layoutInfoEmitter
onDidLayoutChange _layoutInfoEmitterevent
renderOutput
mainDocumentTextModel INotebookTextModel
editorEventDispatcher NotebookDiffEditorEventDispatcher
initData
metadataStatusHeight
outputStatusHeight
fontInfo FontInfo
editorEventDispatchere _layoutInfoEmitter outerWidth
lineHeight
type
hiddenCells DiffElementCellViewModelBase
_unfoldHiddenCells
onUnfoldHiddenCells _unfoldHiddenCellsevent
renderOutput
mainDocumentTextModel INotebookTextModel
editorEventDispatcher NotebookDiffEditorEventDispatcher
initData
metadataStatusHeight
outputStatusHeight
fontInfo FontInfo
mainDocumentTextModel editorEventDispatcher initData
_
totalHeight
override
_unfoldHiddenCells
originalMetadata NotebookDocumentMetadataTextModel
modifiedMetadata NotebookDocumentMetadataTextModel
cellFoldingState PropertyFoldingState
_layoutInfo IDiffElementLayoutInfo
renderOutput
height
editorHeight height
margin
editorMargin margin
IDiffElementLayoutInfo
_layoutInfo
layoutInfototalHeight
_sourceEditorViewState editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
originalDocumentTextModel INotebookTextModel
modifiedDocumentTextModel INotebookTextModel
type
editorEventDispatcher NotebookDiffEditorEventDispatcher
initData
metadataStatusHeight
outputStatusHeight
fontInfo FontInfo
notebookService INotebookService
editorHeightCalculator IDiffEditorHeightCalculatorService
originalDocumentTextModel editorEventDispatcher initData
cellStatusHeight PropertyHeaderHeight
_layoutInfo
width
editorHeight
editorMargin
metadataHeight
cellStatusHeight
metadataStatusHeight
rawOutputHeight
outputTotalHeight
outputStatusHeight
outputMetadataHeight
bodyMargin
totalHeight cellStatusHeight
layoutState CellLayoutStateUninitialized
cellFoldingState type PropertyFoldingStateExpanded PropertyFoldingStateCollapsed
originalMetadata originalDocumentTextModel
modifiedMetadata modifiedDocumentTextModel
type
editorHeight editorHeightCalculatororiginalMetadatatextBuffer
original originalMetadatauri
modified modifiedMetadatauri
editorHeight editorHeightCalculatororiginal modified
recomputeOutput
delta ILayoutInfoDelta
width deltawidth deltawidth _layoutInfowidth
editorHeight deltaeditorHeight deltaeditorHeight _layoutInfoeditorHeight
editorMargin deltaeditorMargin deltaeditorMargin _layoutInfoeditorMargin
cellStatusHeight deltacellStatusHeight deltacellStatusHeight _layoutInfocellStatusHeight
bodyMargin deltabodyMargin deltabodyMargin _layoutInfobodyMargin
totalHeight editorHeight
editorMargin
cellStatusHeight
bodyMargin
newLayout IDiffElementLayoutInfo
width width
editorHeight editorHeight
editorMargin editorMargin
metadataHeight
cellStatusHeight
metadataStatusHeight
outputTotalHeight
outputStatusHeight
bodyMargin bodyMargin
rawOutputHeight
outputMetadataHeight
totalHeight totalHeight
layoutState CellLayoutStateMeasured
somethingChanged
changeEvent CellDiffViewModelLayoutChangeEvent
newLayoutwidth _layoutInfowidth
changeEventwidth
somethingChanged
newLayouteditorHeight _layoutInfoeditorHeight
changeEventeditorHeight
somethingChanged
newLayouteditorMargin _layoutInfoeditorMargin
changeEventeditorMargin
somethingChanged
newLayoutcellStatusHeight _layoutInfocellStatusHeight
changeEventcellStatusHeight
somethingChanged
newLayoutbodyMargin _layoutInfobodyMargin
changeEventbodyMargin
somethingChanged
newLayouttotalHeight _layoutInfototalHeight
changeEventtotalHeight
somethingChanged
somethingChanged
_layoutInfo newLayout
changeEvent
lineHeight
_layoutInfolayoutState CellLayoutStateUninitialized
editorHeight cellFoldingState PropertyFoldingStateCollapsed lineHeight
editorHeight
_layoutInfototalHeight
editorHeight
totalHeight editorHeight
_layoutInfoeditorMargin
_layoutInfometadataHeight
_layoutInfocellStatusHeight
_layoutInfometadataStatusHeight
_layoutInfooutputTotalHeight
_layoutInfooutputStatusHeight
_layoutInfooutputMetadataHeight
_layoutInfobodyMargin
totalHeight
_lineHeight
editorHeightCalculatorMathoriginalMetadatatextBuffer modifiedMetadatatextBuffer
state CellDiffViewModelLayoutChangeEvent
_layoutInfoEmitterstate
editorEventDispatcher type NotebookDiffViewEventTypeCellLayoutChanged source _layoutInfo
layoutInfo NotebookLayoutInfo diffEditor fullWidth
fullWidth
layoutInfowidth diffEditor DiffEditorWidget
layoutInfowidth diffEditor DiffEditorWidget
editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
_sourceEditorViewState
viewState editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
_sourceEditorViewState viewState
cellFoldingState PropertyFoldingState
metadataFoldingState PropertyFoldingState
outputFoldingState PropertyFoldingState
_stateChangeEmitter
onDidStateChange _stateChangeEmitterevent
_layoutInfo IDiffElementLayoutInfo
displayIconToHideUnmodifiedCells
_hideUnchangedCells
onHideUnchangedCells _hideUnchangedCellsevent
_hideUnchangedCells
height
rawOutputHeight Math height
height
outputStatusHeight height
height
outputMetadataHeight height
height
editorHeight height
margin
editorMargin margin
height
metadataStatusHeight height
height
metadataHeight height
_renderOutput
value
_renderOutput value
recomputeOutput
_stateChangeEmitter renderOutput _renderOutput
_renderOutput
IDiffElementLayoutInfo
_layoutInfo
layoutInfototalHeight
configurationService mainDocumentTextModeltransientOptionstransientOutputs
configurationService
_sourceEditorViewState editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
_outputEditorViewState editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
_metadataEditorViewState editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
original DiffNestedCellViewModel
modified DiffNestedCellViewModel
mainDocumentTextModel INotebookTextModel
original NotebookCellTextModel
modified NotebookCellTextModel
type
editorEventDispatcher NotebookDiffEditorEventDispatcher
initData
metadataStatusHeight
outputStatusHeight
fontInfo FontInfo
notebookService INotebookService
index
configurationService IConfigurationService
diffEditorHeightCalculator IDiffEditorHeightCalculatorService
mainDocumentTextModel editorEventDispatcher initData
original original original notebookService
modified modified modified notebookService
editorHeight initDatafontInfo
cellStatusHeight PropertyHeaderHeight
_layoutInfo
width
editorHeight editorHeight
editorMargin
metadataHeight
cellStatusHeight
metadataStatusHeight ignoreMetadata PropertyHeaderHeight
rawOutputHeight
outputTotalHeight
outputStatusHeight ignoreOutputs PropertyHeaderHeight
outputMetadataHeight
bodyMargin
totalHeight cellStatusHeight editorHeight
layoutState CellLayoutStateUninitialized
cellFoldingState modified original PropertyFoldingStateExpanded PropertyFoldingStateCollapsed
metadataFoldingState PropertyFoldingStateCollapsed
outputFoldingState PropertyFoldingStateCollapsed
recomputeOutput
fontInfo FontInfo
lineHeight fontInfolineHeight
type
lineCount modifiedtextModeltextBuffer
editorHeight lineCount lineHeight lineCounttop lineCountbottom
editorHeight
lineCount originaltextModeltextBuffer
editorHeight lineCount lineHeight lineCounttop lineCountbottom
editorHeight
delta ILayoutInfoDelta
width deltawidth deltawidth _layoutInfowidth
editorHeight deltaeditorHeight deltaeditorHeight _layoutInfoeditorHeight
editorMargin deltaeditorMargin deltaeditorMargin _layoutInfoeditorMargin
metadataHeight deltametadataHeight deltametadataHeight _layoutInfometadataHeight
cellStatusHeight deltacellStatusHeight deltacellStatusHeight _layoutInfocellStatusHeight
metadataStatusHeight deltametadataStatusHeight deltametadataStatusHeight _layoutInfometadataStatusHeight
rawOutputHeight deltarawOutputHeight deltarawOutputHeight _layoutInforawOutputHeight
outputStatusHeight deltaoutputStatusHeight deltaoutputStatusHeight _layoutInfooutputStatusHeight
bodyMargin deltabodyMargin deltabodyMargin _layoutInfobodyMargin
outputMetadataHeight deltaoutputMetadataHeight deltaoutputMetadataHeight _layoutInfooutputMetadataHeight
outputHeight ignoreOutputs deltarecomputeOutput deltarawOutputHeight deltaoutputMetadataHeight rawOutputHeight outputMetadataHeight _layoutInfooutputTotalHeight
totalHeight editorHeight
editorMargin
cellStatusHeight
metadataHeight
metadataStatusHeight
outputHeight
outputStatusHeight
bodyMargin
newLayout IDiffElementLayoutInfo
width width
editorHeight editorHeight
editorMargin editorMargin
metadataHeight metadataHeight
cellStatusHeight
metadataStatusHeight metadataStatusHeight
outputTotalHeight outputHeight
outputStatusHeight outputStatusHeight
bodyMargin bodyMargin
rawOutputHeight rawOutputHeight
outputMetadataHeight outputMetadataHeight
totalHeight totalHeight
layoutState CellLayoutStateMeasured
somethingChanged
changeEvent CellDiffViewModelLayoutChangeEvent
newLayoutwidth _layoutInfowidth
changeEventwidth
somethingChanged
newLayouteditorHeight _layoutInfoeditorHeight
changeEventeditorHeight
somethingChanged
newLayouteditorMargin _layoutInfoeditorMargin
changeEventeditorMargin
somethingChanged
newLayoutmetadataHeight _layoutInfometadataHeight
changeEventmetadataHeight
somethingChanged
newLayoutcellStatusHeight _layoutInfocellStatusHeight
changeEventcellStatusHeight
somethingChanged
newLayoutmetadataStatusHeight _layoutInfometadataStatusHeight
changeEventmetadataStatusHeight
somethingChanged
newLayoutoutputTotalHeight _layoutInfooutputTotalHeight
changeEventoutputTotalHeight
somethingChanged
newLayoutoutputStatusHeight _layoutInfooutputStatusHeight
changeEventoutputStatusHeight
somethingChanged
newLayoutbodyMargin _layoutInfobodyMargin
changeEventbodyMargin
somethingChanged
newLayoutoutputMetadataHeight _layoutInfooutputMetadataHeight
changeEventoutputMetadataHeight
somethingChanged
newLayouttotalHeight _layoutInfototalHeight
changeEventtotalHeight
somethingChanged
somethingChanged
_layoutInfo newLayout
changeEvent
lineHeight
_layoutInfolayoutState CellLayoutStateUninitialized
editorHeight cellFoldingState PropertyFoldingStateCollapsed lineHeight
editorHeight
_layoutInfototalHeight
editorHeight
totalHeight editorHeight
_layoutInfoeditorMargin
_layoutInfometadataHeight
_layoutInfocellStatusHeight
_layoutInfometadataStatusHeight
_layoutInfooutputTotalHeight
_layoutInfooutputStatusHeight
_layoutInfooutputMetadataHeight
_layoutInfobodyMargin
totalHeight
lineHeight
lineCount MathoriginaltextModeltextBuffer modifiedtextModeltextBuffer
diffEditorHeightCalculatorlineCount
rawOutputHeight metadataHeight
outputFoldingState PropertyFoldingStateCollapsed
renderOutput
metadataHeight
rawOutputHeight
state CellDiffViewModelLayoutChangeEvent
_layoutInfoEmitterstate
editorEventDispatcher type NotebookDiffViewEventTypeCellLayoutChanged source _layoutInfo
reason
reason
reason
cellUri IGenericCellViewModel
diffSide DiffSide index
diffSide DiffSide index
diffSide DiffSide index height
diffSide DiffSide DiffNestedCellViewModel
layoutInfo NotebookLayoutInfo diffEditor fullWidth
fullWidth
layoutInfowidth diffEditor DiffEditorWidget
layoutInfowidth diffEditor DiffEditorWidget
editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
_outputEditorViewState
viewState editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
_outputEditorViewState viewState
editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
_metadataEditorViewState
viewState editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
_metadataEditorViewState viewState
editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
_sourceEditorViewState
viewState editorCommonICodeEditorViewState editorCommonIDiffEditorViewState
_sourceEditorViewState viewState
otherDocumentTextModel
mainDocumentTextModel
original DiffNestedCellViewModel
modified DiffNestedCellViewModel
override type
editorHeightWithUnchangedLinesCollapsed
mainDocumentTextModel NotebookTextModel
otherDocumentTextModel NotebookTextModel
original NotebookCellTextModel
modified NotebookCellTextModel
type
editorEventDispatcher NotebookDiffEditorEventDispatcher
initData
metadataStatusHeight
outputStatusHeight
fontInfo FontInfo
notebookService INotebookService
configurationService IConfigurationService
index
diffEditorHeightCalculator IDiffEditorHeightCalculatorService
mainDocumentTextModel
original
modified
type
editorEventDispatcher
initData
notebookService
index
configurationService
diffEditorHeightCalculator
type type
cellFoldingState modifiedtextModel originaltextModel PropertyFoldingStateExpanded PropertyFoldingStateCollapsed
metadataFoldingState PropertyFoldingStateCollapsed
outputFoldingState PropertyFoldingStateCollapsed
metadataFoldingState PropertyFoldingStateExpanded
outputFoldingState PropertyFoldingStateExpanded
original
recomputeOutput
modified
recomputeOutput
modifiedtextModel
mainDocumentTextModeltransientOptionscellContentMetadata
cellMetadataKeys ObjectmainDocumentTextModeltransientOptionscellContentMetadata
modifiedMedataRaw Object modifiedmetadata
originalCellMetadata originalmetadata
key cellMetadataKeys
ObjectoriginalCellMetadata key
modifiedMedataRawkey originalCellMetadatakey
modifiedtextModelmetadata modifiedMedataRaw
override reason
originaltextModel modifiedtextModel
reason
mainDocumentTextModeltransientOptionstransientOutputs ignoreOutputs
ret originaloutputs modifiedoutputs
ret OutputComparisonUnchanged
reason ret OutputComparisonMetadata
kind ret
ignoreMetadata
modified mainDocumentTextModeltransientOptionstransientCellMetadata originalmetadata originallanguage mainDocumentTextModeltransientOptionstransientCellMetadata modifiedmetadata modifiedlanguage
modified
reason
diffSide DiffSide index height
diffSide DiffSideOriginal
originalindex height
modifiedindex height
diffSide DiffSide index
diffSide DiffSideOriginal
originalindex
modifiedindex
diffSide DiffSide index
offsetInOutputsContainer diffSide index
_layoutInfoeditorHeight
_layoutInfoeditorMargin
_layoutInfometadataHeight
_layoutInfocellStatusHeight
_layoutInfometadataStatusHeight
_layoutInfooutputStatusHeight
_layoutInfobodyMargin
offsetInOutputsContainer
mainDocumentTextModeltransientOptionstransientOutputs
originaloutputs length
Mathoriginal modified
diffSide DiffSide DiffNestedCellViewModel
diffSide DiffSideOriginal original modified
cellUri IGenericCellViewModel
cellUri originaluri
original
modified
override lineHeight
type
editorHeightWithUnchangedLinesCollapsed
editorHeightWithUnchangedLinesCollapsed
lineHeight
editorHeightWithUnchangedLinesCollapsed _layoutInfoeditorHeight diffEditorHeightCalculatororiginaluri modifieduri
originalMetadataUri CellUrioriginalDocumenturi originalhandle SchemasvscodeNotebookCellMetadata
modifiedMetadataUri CellUrimodifiedDocumenturi modifiedhandle SchemasvscodeNotebookCellMetadata
_layoutInfometadataHeight diffEditorHeightCalculatororiginalMetadataUri modifiedMetadataUri
type
type modified original
type
otherDocumentTextModel
mainDocumentTextModel
type
mainDocumentTextModel
otherDocumentTextModel
override type
mainDocumentTextModel NotebookTextModel
otherDocumentTextModel NotebookTextModel
original NotebookCellTextModel
modified NotebookCellTextModel
type
editorEventDispatcher NotebookDiffEditorEventDispatcher
initData
metadataStatusHeight
outputStatusHeight
fontInfo FontInfo
notebookService INotebookService
configurationService IConfigurationService
diffEditorHeightCalculator IDiffEditorHeightCalculatorService
index
mainDocumentTextModel original modified type editorEventDispatcher initData notebookService index configurationService diffEditorHeightCalculator
type type
cellViewModel
recomputeOutput
override reason
reason
diffSide DiffSide DiffNestedCellViewModel
type modified original
reason
reason
diffSide DiffSide index height
cellViewModelindex height
diffSide DiffSide index
cellViewModelindex
diffSide DiffSide index
offsetInOutputsContainer cellViewModelindex
_layoutInfoeditorHeight
_layoutInfoeditorMargin
_layoutInfometadataHeight
_layoutInfocellStatusHeight
_layoutInfometadataStatusHeight
_layoutInfooutputStatusHeight
_layoutInfobodyMargin
offsetInOutputsContainer
mainDocumentTextModeltransientOptionstransientOutputs
originaloutputs modifiedoutputs length
cellViewModel
cellUri IGenericCellViewModel
cellViewModel
OutputComparison
Unchanged
Metadata
Other
a ICellOutput b ICellOutput OutputComparison
ametadata bmetadata
OutputComparisonOther
j j aoutputslength j
aOutputItem aoutputsj
bOutputItem boutputsj
aOutputItemmime bOutputItemmime
OutputComparisonOther
aOutputItemdatabufferlength bOutputItemdatabufferlength
OutputComparisonOther
k k aOutputItemdatabufferlength k
aOutputItemdatabufferk bOutputItemdatabufferk
OutputComparisonOther
OutputComparisonMetadata
original ICellOutput modified ICellOutput
originallength modifiedlength
OutputComparisonOther
len originallength
i i len i
a originali
b modifiedi
ametadata bmetadata
OutputComparisonMetadata
aoutputslength boutputslength
OutputComparisonOther
j j aoutputslength j
aOutputItem aoutputsj
bOutputItem boutputsj
aOutputItemmime bOutputItemmime
OutputComparisonOther
aOutputItemdatabufferlength bOutputItemdatabufferlength
OutputComparisonOther
k k aOutputItemdatabufferlength k
aOutputItemdatabufferk bOutputItemdatabufferk
OutputComparisonOther
OutputComparisonUnchanged
outputs IOutputItemDto
outputslength
first outputs
mime firstmime
sameStream outputsop opmime mime
sameStream
outputsopit opitdata
outputs IOutputDto
outputslength
streamOutputData outputsoutputs
streamOutputData
streamOutputData
outputsoutput
metadata outputmetadata
outputItems outputoutputsopit
mimeType opitmime
data opitdata