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 { ITimeout, SequenceDiff } from './algorithms/diffAlgorithm.js';
import { DetailedLineRangeMapping, LineRangeMapping } from '../rangeMapping.js';
import { pushMany, compareBy, numberComparator, reverseOrder } from '../../../../base/common/arrays.js';
import { MonotonousArray, findLastMonotonous } from '../../../../base/common/arraysFind.js';
import { SetMap } from '../../../../base/common/map.js';
import { LineRange, LineRangeSet } from '../../core/ranges/lineRange.js';
import { LinesSliceCharSequence
LineRangeFragment isSpace
MyersDiffAlgorithm
Range
changes DetailedLineRangeMapping
originalLines
modifiedLines
hashedOriginalLines
hashedModifiedLines
timeout ITimeout
LineRangeMapping
moves excludedChanges changes originalLines modifiedLines timeout
timeout
filteredChanges changesc excludedChangesc
unchangedMoves filteredChanges hashedOriginalLines hashedModifiedLines originalLines modifiedLines timeout
moves unchangedMoves
moves moves
moves movescurrent
lines currentoriginaloriginalLinesl l
originalText lines
originalTextlength lines l llength
moves changes moves
moves
arr t
count
t arr
t
count
count
changes DetailedLineRangeMapping
originalLines
modifiedLines
timeout ITimeout
moves LineRangeMapping
deletions changes
c cmodifiedisEmpty coriginallength
d doriginal originalLines d
insertions changes
c coriginalisEmpty cmodifiedlength
d dmodified modifiedLines d
excludedChanges
deletion deletions
highestSimilarity
best LineRangeFragment
insertion insertions
similarity deletioninsertion
similarity highestSimilarity
highestSimilarity similarity
best insertion
highestSimilarity best
insertionsbest
moves deletionrange bestrange
excludedChangesdeletionsource
excludedChangesbestsource
timeout
moves excludedChanges
moves excludedChanges
changes DetailedLineRangeMapping
hashedOriginalLines
hashedModifiedLines
originalLines
modifiedLines
timeout ITimeout
moves LineRangeMapping
original3LineHashes
change changes
i changeoriginalstartLineNumber i changeoriginalendLineNumberExclusive i
key
original3LineHasheskey range i i
modifiedLineRange LineRange
originalLineRange LineRange
possibleMappings PossibleMapping
changesc cmodifiedstartLineNumber numberComparator
change changes
lastMappings PossibleMapping
i changemodifiedstartLineNumber i changemodifiedendLineNumberExclusive i
key
currentModifiedRange i i
nextMappings PossibleMapping
original3LineHasheskey range
lastMapping lastMappings
lastMappingoriginalLineRangeendLineNumberExclusive rangeendLineNumberExclusive
lastMappingmodifiedLineRangeendLineNumberExclusive currentModifiedRangeendLineNumberExclusive
lastMappingoriginalLineRange lastMappingoriginalLineRangestartLineNumber rangeendLineNumberExclusive
lastMappingmodifiedLineRange lastMappingmodifiedLineRangestartLineNumber currentModifiedRangeendLineNumberExclusive
nextMappingslastMapping
mapping PossibleMapping
modifiedLineRange currentModifiedRange
originalLineRange range
possibleMappingsmapping
nextMappingsmapping
lastMappings nextMappings
timeout
possibleMappingsm mmodifiedLineRangelength numberComparator
modifiedSet
originalSet
mapping possibleMappings
diffOrigToMod mappingmodifiedLineRangestartLineNumber mappingoriginalLineRangestartLineNumber
modifiedSections modifiedSetmappingmodifiedLineRange
originalTranslatedSections originalSetmappingoriginalLineRangediffOrigToMod
modifiedIntersectedSections modifiedSectionsoriginalTranslatedSections
s modifiedIntersectedSectionsranges
slength
modifiedLineRange s
originalLineRange sdiffOrigToMod
moves originalLineRange modifiedLineRange
modifiedSetmodifiedLineRange
originalSetoriginalLineRange
movesm moriginalstartLineNumber numberComparator
monotonousChanges changes
i i moveslength i
move movesi
firstTouchingChangeOrig monotonousChangesc coriginalstartLineNumber moveoriginalstartLineNumber
firstTouchingChangeMod changes c cmodifiedstartLineNumber movemodifiedstartLineNumber
linesAbove Math
moveoriginalstartLineNumber firstTouchingChangeOrigoriginalstartLineNumber
movemodifiedstartLineNumber firstTouchingChangeModmodifiedstartLineNumber
lastTouchingChangeOrig monotonousChangesc coriginalstartLineNumber moveoriginalendLineNumberExclusive
lastTouchingChangeMod changes c cmodifiedstartLineNumber movemodifiedendLineNumberExclusive
linesBelow Math
lastTouchingChangeOrigoriginalendLineNumberExclusive moveoriginalendLineNumberExclusive
lastTouchingChangeModmodifiedendLineNumberExclusive movemodifiedendLineNumberExclusive
extendToTop
extendToTop extendToTop linesAbove extendToTop
origLine moveoriginalstartLineNumber extendToTop
modLine movemodifiedstartLineNumber extendToTop
origLine originalLineslength modLine modifiedLineslength
modifiedSetmodLine originalSetorigLine
originalLinesorigLine modifiedLinesmodLine timeout
extendToTop
originalSet moveoriginalstartLineNumber extendToTop moveoriginalstartLineNumber
modifiedSet movemodifiedstartLineNumber extendToTop movemodifiedstartLineNumber
extendToBottom
extendToBottom extendToBottom linesBelow extendToBottom
origLine moveoriginalendLineNumberExclusive extendToBottom
modLine movemodifiedendLineNumberExclusive extendToBottom
origLine originalLineslength modLine modifiedLineslength
modifiedSetmodLine originalSetorigLine
originalLinesorigLine modifiedLinesmodLine timeout
extendToBottom
originalSet moveoriginalendLineNumberExclusive moveoriginalendLineNumberExclusive extendToBottom
modifiedSet movemodifiedendLineNumberExclusive movemodifiedendLineNumberExclusive extendToBottom
extendToTop extendToBottom
movesi
moveoriginalstartLineNumber extendToTop moveoriginalendLineNumberExclusive extendToBottom
movemodifiedstartLineNumber extendToTop movemodifiedendLineNumberExclusive extendToBottom
moves
line1 line2 timeout ITimeout
line1 line2
line1length line2length
myersDiffingAlgorithm
result myersDiffingAlgorithm
line1 line1length
line2 line2length
timeout
commonNonSpaceCharCount
inverted SequenceDiffresultdiffs line1length
seq inverted
seqseq1Rangeidx
line1idx
commonNonSpaceCharCount
str
count
i i line1length i
stri
count
count
longerLineLength line1length line2length line1 line2
r commonNonSpaceCharCount longerLineLength longerLineLength
r
moves LineRangeMapping LineRangeMapping
moveslength
moves
movesm moriginalstartLineNumber numberComparator
result moves
i i moveslength i
last resultresultlength
current movesi
originalDist currentoriginalstartLineNumber lastoriginalendLineNumberExclusive
modifiedDist currentmodifiedstartLineNumber lastmodifiedendLineNumberExclusive
currentMoveAfterLast originalDist modifiedDist
currentMoveAfterLast originalDist modifiedDist
resultresultlength lastcurrent
resultcurrent
result
changes DetailedLineRangeMapping moves LineRangeMapping
changesMonotonous changes
moves movesm
diffBeforeEndOfMoveOriginal changesMonotonousc coriginalstartLineNumber moriginalendLineNumberExclusive
diffBeforeEndOfMoveModified changes c cmodifiedstartLineNumber mmodifiedendLineNumberExclusive
differentDiffs diffBeforeEndOfMoveOriginal diffBeforeEndOfMoveModified
differentDiffs
moves