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 fs from 'fs';
import * as glob from 'glob';
import * as path from 'path';
import type { Command } from 'vscode';
import { Turn } from '../../src/extension/prompt/common/conversation';
import { ITestingServicesAccessor } from '../../src/platform/test/node/services';
import { ssuite, stest } from '../base/stest';
generateScenarioTestRunner
question
isRegex
onlyOpenEditors
exampleIncludeGlobs
exampleExcludeGlobs
queryShouldFind Map
replaceResult Map
shouldFail
filesToInclude
filesToExclude
query
replace
isCaseSensitive
isRegex
matchWholeWord
onlyOpenEditors
preserveCase
filesToInclude
filesToExclude
query
replace
isRegex
preserveCase
onlyOpenEditors
scenarioFolder path__dirname
exampleFolder pathscenarioFolder
replaceSamples pathscenarioFolder
title location
i i i
testCase
testName testCasequestion
description testName
question testCasequestion name testName scenarioFolderPath scenarioFolder
testCase
fileName ISearchTestConfig
file pathscenarioFolder fileName
fileContents fsfile
json fileContents
jsonqueryShouldFind jsonshouldFail
jsonqueryShouldFind jsonqueryShouldFind
jsonreplaceResult
jsonreplaceResult jsonreplaceResult
json
testInfo ISearchTestConfig
accessor ITestingServicesAccessor question answer _rawResponse turn Turn _scenarioIndex commands Command success errorMessage
args ISimplifiedSearchArg
args commands
e
testInfoshouldFail
success errorMessage
success errorMessage
testInfoshouldFail
success errorMessage
testInfoisRegex argsisRegex testInfoisRegex
testInfoonlyOpenEditors
argsonlyOpenEditors testInfoonlyOpenEditors
testInforeplaceResult testInforeplaceResultsize
argsreplace
actualTargets argsfilesToInclude argsfilesToExclude
expectedTargets testInfoexampleIncludeGlobs testInfoexampleExcludeGlobs
assertactualTargets expectedTargets
argsquery
success errorMessage
query argsquery
preserveCase argspreserveCase
replace argsreplace
testInfoqueryShouldFindexpected fileName
file pathexampleFolder fileName
results file query preserveCase
results expected
testInforeplaceResultfileNameExpected fileName
file pathexampleFolder fileName
result file query replace preserveCase
expected fspathreplaceSamples fileNameExpected
result expected
e
msg emessage e
success errorMessage msg
success errorMessage
fileGlobs ignoreGlobs
fileGlobs
fileGlobs fileGlobslength fileGlobs
ignoreGlobs
ignoreGlobs ignoreGlobslength ignoreGlobs
included
fileGlobsfileGlob
matches globfileGlob cwd exampleFolder ignore ignoreGlobs file
includedfile
includedmatches
included
args ISearchArg ISimplifiedSearchArg
filesToInclude argsfilesToInclude
filesToExclude argsfilesToExclude
query argsquery
replace argsreplace
isRegex argsisRegex
preserveCase argspreserveCase
onlyOpenEditors argsonlyOpenEditors
commands Command ISearchArg
c commands
ccommand
ctitle
carguments
query isCaseSensitive RegExp
flags isCaseSensitive
query flags
fileName query isCaseSensitive
file fsfileName
re query isCaseSensitive
results filere
results results
fileName query replace isCaseSensitive
file fsfileName
re query isCaseSensitive
str filere replace
str
actual expected
expectedlength
actuallength
possibilitiesOfExpected expected expected expected
possibleExpected
actuallength possibleExpectedlength
i i actuallength i
actualipossibleExpectedi
expected possibilitiesOfExpected
expected