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 * as sinon from 'sinon';
import * as arrays from '../../../../../base/common/arrays.js';
import { DeferredPromise, timeout } from '../../../../../base/common/async.js';
import { CancellationToken, CancellationTokenSource } from '../../../../../base/common/cancellation.js';
import { URI } from '../../../../../base/common/uri.js';
import { Range } from '../../../../../editor/common/core/range.js';
import { IModelService }
ModelService
IConfigurationService
TestConfigurationService
TestInstantiationService
IAITextQuery IFileMatch IFileQuery IFileSearchStats IFolderQuery ISearchComplete ISearchProgressItem ISearchQuery ISearchService ITextQuery ITextSearchMatch OneLineRange QueryType TextSearchMatch
ITelemetryService
NullTelemetryService
SearchModelImpl
IThemeService
TestThemeService
FileService
ILogService NullLogService
IUriIdentityService
UriIdentityService
ILabelService
INotebookEditorService
IEditorGroupsService
TestEditorGroupsService TestEditorService
NotebookEditorWidgetService
createFileUriFromPathFromRoot getRootName
INotebookCellMatchWithModel INotebookFileMatchWithModel contentMatchesToTextSearchMatches webviewMatchesToTextSearchMatches
CellKind
ICellViewModel
FindMatch IReadonlyTextBuffer
ResourceMap ResourceSet
INotebookService
INotebookSearchService
IContextKeyService
MockContextKeyService
IEditorService
ensureNoDisposablesAreLeakedInTestSuite
CellMatch MatchInNotebook
nullEvent
id
topic
name
description
data
startTime Date
stopTime Date
lineOneRange
instantiationService TestInstantiationService
store
testSearchStats IFileSearchStats
fromCache
resultCount
type
detailStats
fileWalkTime
cmdTime
cmdResultCount
directoriesWalked
filesWalked
folderQueries IFolderQuery
folder
instantiationService
instantiationServiceITelemetryService NullTelemetryService
instantiationServiceILabelService uri
instantiationServiceINotebookService
instantiationServiceIModelService instantiationService
instantiationServiceINotebookEditorService instantiationService
instantiationServiceISearchService
instantiationServiceISearchService results
fileService
storefileService
uriIdentityService fileService
storeuriIdentityService
instantiationServiceIUriIdentityService uriIdentityService
instantiationServiceILogService
sinon
results IFileMatch complete ISearchComplete ISearchService
ISearchService
query ISearchQuery token CancellationToken onProgress result ISearchProgressItem notebookURIs ResourceSet ISearchComplete
resolve
resultsonProgress
complete
query IFileQuery token CancellationToken ISearchComplete
resolve
results results messages
query ISearchQuery token CancellationToken onProgress result ISearchProgressItem notebookURIs ResourceSet ISearchComplete
resolve
resultsonProgress
complete
query ITextQuery token CancellationToken onProgress result ISearchProgressItem syncResults ISearchComplete asyncResults ISearchComplete
syncResults
results
messages
asyncResults resolve
resultsonProgress
complete
error Error ISearchService
ISearchService
query ISearchQuery token CancellationToken onProgress result ISearchProgressItem ISearchComplete
resolve reject
error
query IFileQuery token CancellationToken ISearchComplete
resolve reject
error
query ISearchQuery token CancellationToken onProgress result ISearchProgressItem notebookURIs ResourceSet ISearchComplete
resolve reject
error
query ITextQuery token CancellationToken onProgress result ISearchProgressItem syncResults ISearchComplete asyncResults ISearchComplete
syncResults
results
messages
asyncResults resolve reject
error
tokenSource CancellationTokenSource ISearchService
ISearchService
query ITextQuery token CancellationToken onProgress result ISearchProgressItem ISearchComplete
disposable token tokenSource
disposable
storedisposable
query token onProgressasyncResults
query IFileQuery token CancellationToken ISearchComplete
disposable token tokenSource
disposable
storedisposable
resolve
query IAITextQuery token CancellationToken onProgress result ISearchProgressItem notebookURIs ResourceSet ISearchComplete
disposable token tokenSource
disposable
storedisposable
results
messages
query ITextQuery token CancellationToken onProgress result ISearchProgressItem syncResults ISearchComplete asyncResults ISearchComplete
disposable token tokenSource
disposable
storedisposable
syncResults
results
messages
asyncResults resolve
results
messages
p ISearchComplete ISearchService
ISearchService
query ITextQuery token CancellationToken onProgress result ISearchProgressItem syncResults ISearchComplete asyncResults ISearchComplete
syncResults
results
messages
asyncResults p
results INotebookFileMatchWithModel tokenSource CancellationTokenSource INotebookSearchService
INotebookSearchService
_serviceBrand
query ITextQuery token CancellationToken searchInstanceID onProgress result ISearchProgressItem
openFilesToScan ResourceSet
completeData ISearchComplete
allScannedFiles ResourceSet
disposable token tokenSource
disposable
storedisposable
localResults uri uripath
resultsr
localResultsrresource r
onProgress
arrayslocalResultsonProgress
openFilesToScan localResults
completeData
messages
results arrayslocalResults
limitHit
allScannedFiles
results
lineOneRange
instantiationServiceISearchService results limitHit messages results
instantiationServiceINotebookSearchService
testObject SearchModelImpl instantiationServiceSearchModelImpl
storetestObject
testObject contentPattern pattern type QueryTypeText folderQueries asyncResults
actual testObjectsearchResult
assert actuallength
assert actualresource
actuaMatches actual
assert actuaMatcheslength
assert actuaMatches
assert actuaMatches
assert actuaMatches
assert actuaMatches
actuaMatches actual
assert actuaMatcheslength
assert actuaMatches
assert actuaMatches
results
lineOneRange
instantiationServiceISearchService results limitHit messages results
sinonCellMatchprototype
mdInputCell
cellKind CellKindMarkup textBuffer IReadonlyTextBuffer
lineNumber
lineNumber
id
ICellViewModel
findMatchMds
codeCell
cellKind CellKindCode textBuffer IReadonlyTextBuffer
lineNumber
lineNumber
id
ICellViewModel
findMatchCodeCells
webviewMatches
index
searchPreviewInfo
line
range
start
end
index
searchPreviewInfo
line
range
start
end
cellMatchMd INotebookCellMatchWithModel
cell mdInputCell
index
contentResults findMatchMds mdInputCell
webviewResults
cellMatchCode INotebookCellMatchWithModel
cell codeCell
index
contentResults findMatchCodeCells codeCell
webviewResults webviewMatches
notebookSearchService instantiationServiceINotebookSearchService cellMatchMd cellMatchCode
notebookSearch sinonnotebookSearchService
model SearchModelImpl instantiationServiceSearchModelImpl
storemodel
model contentPattern pattern type QueryTypeText folderQueries asyncResults
actual modelsearchResult
notebookSearchcalledOnce
assert actuallength
assert actualresource
notebookFileMatches actual
assertnotebookFileMatches
assertnotebookFileMatches
assertnotebookFileMatches
assertnotebookFileMatches
assertnotebookFileMatches
notebookFileMatchesmatch match
notebookFileMatches MatchInNotebookcellid
notebookFileMatches MatchInNotebookcellid
notebookFileMatches MatchInNotebookcellid
notebookFileMatches MatchInNotebookcellid
notebookFileMatches MatchInNotebookcellid
mdCellMatchProcessed notebookFileMatches MatchInNotebookcellParent
codeCellMatchProcessed notebookFileMatches MatchInNotebookcellParent
mdCellMatchProcessedcontentMatcheslength
codeCellMatchProcessedcontentMatcheslength
codeCellMatchProcessedwebviewMatcheslength
mdCellMatchProcessedcontentMatches notebookFileMatches
codeCellMatchProcessedcontentMatches notebookFileMatches
codeCellMatchProcessedcontentMatches notebookFileMatches
codeCellMatchProcessedwebviewMatches notebookFileMatches
codeCellMatchProcessedwebviewMatches notebookFileMatches
assert actualresource
assert actualresource
target instantiationServiceITelemetryService
results
lineOneRange
instantiationServiceISearchService results limitHit messages results
instantiationServiceINotebookSearchService
testObject SearchModelImpl instantiationServiceSearchModelImpl
storetestObject
testObject contentPattern pattern type QueryTypeText folderQueries asyncResults
asserttargetcalledThrice
asserttarget
asserttarget
target2 sinon
sinonnullEvent target2
target1 sinonnullEvent
instantiationServiceITelemetryService target1
instantiationServiceISearchService limitHit messages results
instantiationServiceINotebookSearchService
testObject instantiationServiceSearchModelImpl
storetestObject
result testObject contentPattern pattern type QueryTypeText folderQueries asyncResults
result
asserttarget1
asserttarget1
target2 sinon
sinonnullEvent target2
target1 sinonnullEvent
instantiationServiceITelemetryService target1
instantiationServiceISearchService
lineOneRange
results stats testSearchStats messages
instantiationServiceINotebookSearchService
testObject instantiationServiceSearchModelImpl
storetestObject
result testObject contentPattern pattern type QueryTypeText folderQueries asyncResults
result
asserttarget1
asserttarget1
target2 sinon
sinonnullEvent target2
target1 sinonnullEvent
instantiationServiceITelemetryService target1
instantiationServiceISearchService
instantiationServiceINotebookSearchService
testObject instantiationServiceSearchModelImpl
storetestObject
result testObject contentPattern pattern type QueryTypeText folderQueries asyncResults
result
asserttarget1
asserttarget1
target2 sinon
sinonnullEvent target2
target1 sinonnullEvent
instantiationServiceITelemetryService target1
deferredPromise
instantiationServiceISearchService deferredPromisep
instantiationServiceINotebookSearchService
testObject instantiationServiceSearchModelImpl
storetestObject
result testObject contentPattern pattern type QueryTypeText folderQueries asyncResults
deferredPromise
result
asserttarget1
asserttarget1
results
lineOneRange
instantiationServiceISearchService results limitHit messages results
instantiationServiceINotebookSearchService
testObject SearchModelImpl instantiationServiceSearchModelImpl
storetestObject
testObject contentPattern pattern type QueryTypeText folderQueries asyncResults
asserttestObjectsearchResult
instantiationServiceISearchService
testObject contentPattern pattern type QueryTypeText folderQueries
asserttestObjectsearchResult
tokenSource
storetokenSource
instantiationServiceISearchService tokenSource
instantiationServiceINotebookSearchService tokenSource
testObject SearchModelImpl instantiationServiceSearchModelImpl
storetestObject
testObject contentPattern pattern type QueryTypeText folderQueries
instantiationServiceISearchService
instantiationServiceINotebookSearchService
testObject contentPattern pattern type QueryTypeText folderQueries
asserttokenSourcetokenisCancellationRequested
results
instantiationServiceISearchService results limitHit messages results
instantiationServiceINotebookSearchService
testObject SearchModelImpl instantiationServiceSearchModelImpl
storetestObject
testObject contentPattern pattern type QueryTypeText folderQueries asyncResults
testObjectreplaceString
match testObjectsearchResult
assert matchreplaceString
testObject contentPattern pattern isRegExp type QueryTypeText folderQueries asyncResults
match testObjectsearchResult
assert matchreplaceString
testObject contentPattern pattern isRegExp type QueryTypeText folderQueries asyncResults
match testObjectsearchResult
assert matchreplaceString
testObject contentPattern pattern isRegExp type QueryTypeText folderQueries asyncResults
match testObjectsearchResult
assert matchreplaceString
testObject contentPattern pattern isRegExp type QueryTypeText folderQueries asyncResults
testObjectreplaceString
match testObjectsearchResult
assert matchreplaceString
resource results ITextSearchMatch IFileMatch
resource resource results
resource cells INotebookCellMatchWithModel
resource resource cellResults cells
instantiationService TestInstantiationService IModelService
instantiationServiceIThemeService
config
config searchOnType
instantiationServiceIConfigurationService config
modelService instantiationServiceModelService
storemodelService
modelService
instantiationService TestInstantiationService INotebookEditorService
instantiationServiceIEditorGroupsService
instantiationServiceIContextKeyService
instantiationServiceIEditorService store
notebookEditorWidgetService instantiationServiceNotebookEditorWidgetService
storenotebookEditorWidgetService
notebookEditorWidgetService