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 assert from 'assert';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../../base/test/common/utils.js';
import { Range } from '../../../../../editor/common/core/range.js';
import { FindMatch, ITextModel } from '../../../../../editor/common/model.js';
import { ISearchRange, ITextQuery, ITextSearchContext, ITextSearchResult, QueryType } from '../../common/search.js';
import { getTextSearchMatchWithModelContext, editorMatchesToTextSearchResults } from '../../common/searchHelpers.js';
suite('SearchHelpers',
mockTextModel
lineNumber
lineNumber
ITextModel
actual ISearchRange ISearchRange expected ISearchRange
actual
assertactuallength expectedlength
actualr i
expectedRange expectedi
assert
startLineNumber rstartLineNumber startColumn rstartColumn endLineNumber rendLineNumber endColumn rendColumn
startLineNumber expectedRangestartLineNumber startColumn expectedRangestartColumn endLineNumber expectedRangeendLineNumber endColumn expectedRangeendColumn
results mockTextModel
assertresultslength
assertresultspreviewText
resultsrangeLocationse epreview
resultsrangeLocationse esource
results
mockTextModel
assertresultslength
resultsrangeLocationse epreview
resultsrangeLocationse esource
assertresultspreviewText
resultsrangeLocationse epreview
resultsrangeLocationse esource
assertresultspreviewText
mockTextModel
lineNumber
lineNumber lineNumber
lineNumber
ITextModel
surroundingContext ITextQuery
folderQueries
type QueryTypeText
contentPattern pattern
surroundingContext
matches
previewText
rangeLocations
preview
source
assertmatches mockTextModel matches
matches
previewText
rangeLocations
preview
source
assertmatches mockTextModel
text
lineNumber
matches
text
lineNumber
satisfies ITextSearchResult
matches
previewText
rangeLocations
preview
source
previewText
rangeLocations
preview
source
assertmatches mockTextModel
ITextSearchContext
text
lineNumber
matches
ITextSearchContext
text
lineNumber
matches
previewText
rangeLocations
preview
source
previewText
rangeLocations
preview
source
assertmatches mockTextModel
matches
ITextSearchContext
text
lineNumber
ITextSearchContext
text
lineNumber
matches