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 { StringEdit } from '../../../util/vs/editor/common/core/edits/stringEdit';
import { OffsetRange } from '../../../util/vs/editor/common/core/ranges/offsetRange';
const N_GRAM_UNDO_RATIO_TO_FILTER_OUT = 0.7;
/**
* Represents information loss/gain (4-grams) via an edit.
*/
export class InformationDelta {
constructor(
public readonly inserted: Set<string> = new Set<string>(),
public readonly deleted:
other
other other
other
otherReallyNewInsertions other other
otherReallyDeleted other other
otherReallyDeletesMyInserts otherReallyDeleted
otherReallyInsertsMyDeletes otherReallyNewInsertions
otherReallyDeleted otherReallyDeletesMyInserts otherReallyDeleted
otherReallyNewInsertions otherReallyInsertsMyDeletes otherReallyNewInsertions
source edit
inserted
deleted
deletedRange
deletedRange
deletedText sourcedeletedRange deletedRange
line deletedText
line line
piece line
deletedpiece
insertedText
line insertedText
line line
piece line
insertedpiece
e edit
e1 esourcesource
e2 esourcesource
e1
e1
e2
e1e2
e1 e2
inserted deleted
stringToEliminateEnd stringToEliminateStart
length stringToEliminateEnd stringToEliminateStart
trimLength trimLength length trimLength
str1 stringToEliminateEnd stringToEliminateEnd trimLength
str2 stringToEliminateStarttrimLength
str1 str2
str1
text
result
i i text i
ngram texti i
resultngram
result
a b
result
el a
resultel
el b
resultel
result
a b
result
el a
bel
resultel
result
a b
result
el a
bel
result
result