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 { EditCodeIntent } from '../../src/extension/intents/node/editCodeIntent';
import { GenerateCodeIntent } from '../../src/extension/intents/node/generateCodeIntent';
import { TestingServiceCollection } from '../../src/platform/test/node/services';
import { URI } from '../../src/util/vs/base/common/uri';
import { Uri } from '../../src/vscodeTypes';
import { NonExtensionConfiguration, ssuite, stest } from '../base/stest';
import { KnownDiagnosticProviders
simulateInlineChat simulateInlineChatIntent
assertContainsAllSnippets assertNoDiagnosticsAsync assertNoSyntacticDiagnosticsAsync
assertConversationalOutcome assertInlineEdit assertInlineEditShape assertOccursOnce assertOneOf assertSomeStrings fromFixture toFile
EditTestStrategy IScenario
strategy EditTestStrategy
testingServiceCollection TestingServiceCollection
scenario IScenario
strategy EditTestStrategyInline
testingServiceCollection scenario
EditTestStrategyInlineChatIntent
testingServiceCollection scenario
callback strategy EditTestStrategy variant nonExtensionConfigurations NonExtensionConfiguration
EditTestStrategyInlineChatIntent
strategy variant nonExtensionConfigurations
title location
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
kind fileName fileContents
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
outcomefileContents
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
text outcomefileContents
f1 text
f2 text f1
f2
text
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files kind fileName fileContents
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
outcomefileContents
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
changedModifiedLines editchangedModifiedLines
changedModifiedLines
changedModifiedLines
changedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
changedModifiedLines editchangedModifiedLines
changedModifiedLines
changedModifiedLines
changedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
kind fileName fileContents
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
kind fileName fileContents
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
editchangedModifiedLines
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
text outcomefileContents
f1 text
f2 text f1
f3 text f2
f1 f2 f3
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
uri Uri
strategy testingServiceCollection
files
kind
uri
fileContents
languageId
queries
file uri
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
assertoutcomefileContents
description language nonExtensionConfigurations testingServiceCollection
uri Uri
strategy testingServiceCollection
files
kind
uri
fileContents
languageId
queries
file uri
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
description language nonExtensionConfigurations testingServiceCollection
uri Uri
strategy testingServiceCollection
files
kind
uri
fileContents
languageId
queries
file uri
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
assertoutcomefileContents
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
assertoutcomefileContents
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
assertoutcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
outcomefileContents
outcomefileContents
outcomefileContents
outcomefileContents
outcomefileContents
outcomefileContents
outcomefileContents
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
editchangedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
file
selection
wholeRange
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
editchangedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
firstLine outcomefileContents
firstLine
description language nonExtensionConfigurations testingServiceCollection
uri scheme path
strategy testingServiceCollection
files
kind
uri
fileContents
languageId
queries
file uri
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
file uri
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
assertoutcomefileContents
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
assertoutcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
outcomefileContents
outcomefileContents
accessor outcome workspace
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
outcomefileContents
accessor outcome workspace
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
outcome
line
originalLength
modifiedLength
description language nonExtensionConfigurations testingServiceCollection
uri Uri
strategy testingServiceCollection
files
kind
uri
fileContents
languageId
queries
file uri
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent GenerateCodeIntent
outcome workspace accessor
outcome
outcome
line
originalLength
modifiedLength
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
accessor outcome workspace
outcome
outcome
line
originalLength
modifiedLength
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent
outcome workspace accessor
assertoutcometype
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent
outcome workspace accessor
outcome
outcomefileContents
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
fileName
fileContents
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
allNewText outcomeappliedEditsedit editnewText
assertallNewText
assertallNewText
assertallNewText
assertallNewText
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent
outcome workspace accessor
outcome
outcome
line
originalLength
modifiedLength
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
accessor outcome workspace
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
accessor outcome workspace KnownDiagnosticProviderstscIgnoreImportErrors
edit outcome
line
originalLength
modifiedLength
editchangedModifiedLines
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
accessor outcome workspace KnownDiagnosticProviderstscIgnoreImportErrors
description language nonExtensionConfigurations accessor
strategy accessor
files
filePath
queries
file
selection
query
expectedIntent
outcome workspace accessor
outcome