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 { Range } from '../../../../editor/common/core/range.js';
import { FindMatch, ITextModel } from '../../../../editor/common/model.js';
import { ITextSearchPreviewOptions, TextSearchMatch, ITextSearchResult, ITextSearchMatch, ITextSearchQuery } from './search.js';
function editorMatchToTextSearchResult(matches: FindMatch[], model: ITextModel, previewOptions?: ITextSearchPreviewOptions): TextSearchMatch {
const firstLine = matches[0].range.startLineNumber;
lastLine matchesmatcheslength rangeendLineNumber
lineTexts
i firstLine i lastLine i
lineTextsmodeli
lineTexts
matchesm mrangestartLineNumber mrangestartColumn mrangeendLineNumber mrangeendColumn
previewOptions
matches FindMatch model ITextModel previewOptions ITextSearchPreviewOptions TextSearchMatch
previousEndLine
groupedMatches FindMatch
currentMatches FindMatch
matchesmatch
matchrangestartLineNumber previousEndLine
currentMatches
groupedMatchescurrentMatches
currentMatchesmatch
previousEndLine matchrangeendLineNumber
groupedMatchessameLineMatches
sameLineMatches model previewOptions
matches ITextSearchMatch model ITextModel query ITextSearchQuery ITextSearchResult
results ITextSearchResult
prevLine
i i matcheslength i
start matchStartLine end matchEndLine matchesi
querysurroundingContext querysurroundingContext
beforeContextStartLine MathprevLine matchStartLine querysurroundingContext
b beforeContextStartLine b matchStartLine b
results
text modelb
lineNumber b
resultsmatchesi
nextMatch matchesi
nextMatchStartLine nextMatch nextMatchstart Number
querysurroundingContext querysurroundingContext
afterContextToLine MathnextMatchStartLine matchEndLine querysurroundingContext model
a matchEndLine a afterContextToLine a
results
text modela
lineNumber a
prevLine matchEndLine
results
match ITextSearchMatch start end
matchRanges matchrangeLocationse esource
matchStartLine matchRangesstartLineNumber
matchEndLine matchRangesmatchRangeslength endLineNumber
start matchStartLine
end matchEndLine