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 { AnyEdit } from '../../../../editor/common/core/edits/edit.js';
export interface IIndexTransformer {
transform(index: number): number | undefined;
}
/**
* Can only be called with increasing values of `index`.
*/
export class MonotonousIndexTransformer implements IIndexTransformer {
public static fromMany(transformations: AnyEdit[]): IIndexTransformer {
// TODO improve performance by combining transformations first
const transformers = transformations.map(t => new MonotonousIndexTransformert
transformers
idx
offset
transformation AnyEdit
index
nextChange transformationreplacementsidx
nextChange nextChangereplaceRangeendExclusive index
offset nextChange
idx
nextChange transformationreplacementsidx
nextChange nextChangereplaceRangestart index
index offset
transformers IIndexTransformer
index
transformer transformers
result transformerindex
result
index result
index