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 { TestingServiceCollection } from '../../src/platform/test/node/services';
import { Selection } from '../../src/vscodeTypes';
import { NonExtensionConfiguration, ssuite, stest } from '../base/stest';
import { KnownDiagnosticProviders } from '../simulation/diagnosticProviders';
import { simulateInlineChat, simulateInlineChatIntent } from '../simulation/inlineChatSimulator';
import { assertContainsAllSnippets assertNoDiagnosticsAsync assertNoElidedCodeComments assertNoSyntacticDiagnosticsAsync findTextBetweenMarkersFromTop
simulatePanelCodeMapper
assertInlineEdit assertInlineEditShape assertNoOccurrence assertOccursOnce assertSomeStrings extractInlineReplaceEdits fromFixture toFile
EditTestStrategy IScenario
strategy EditTestStrategy
testingServiceCollection TestingServiceCollection
scenario IScenario
strategy EditTestStrategyInline
testingServiceCollection scenario
strategy EditTestStrategyInlineChatIntent
testingServiceCollection scenario
testingServiceCollection scenario strategy
callback strategy EditTestStrategy location variant configurations NonExtensionConfiguration
EditTestStrategyInlineChatIntent
strategy location variant nonExtensionConfigurations
title location
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
assertoutcomefileContentslength outcomeoriginalFileContentslength
edit outcome
line
originalLength
modifiedLength
editchangedModifiedLines
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcometype
assert
outcome
assertoutcomefileContentslength outcomeoriginalFileContentslength
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcometype
assert
outcome
assertoutcomefileContentslength outcomeoriginalFileContentslength
accessor outcome workspace
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
assert
editchangedModifiedLines
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
assertedit
newText editallModifiedLines
assert
newText
newText
assertnewText
assertnewText
assertnewText
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
assertoutcomefileContentslength outcomeoriginalFileContentslength
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
text editchangedModifiedLines
text
text text
textlength
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
fileIndentInfo insertSpaces tabSize
expectedIntent EditCodeIntent
outcome workspace accessor
outcometype
assert
outcome
expectedLines
actualLines outcomefileContentss s
i i expectedLineslength i
expected expectedLinesi
actual actualLinesi
expected
assertexpectedactual
assertactual expected
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
selection
strategy testingServiceCollection
files
queries
file
selection selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
expectedIntent EditCodeIntent
outcome workspace accessor
accessor outcome workspace
outcome
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
expectedIntent EditCodeIntent
outcome workspace accessor
accessor outcome workspace
outcome
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
expectedIntent EditCodeIntent
outcome workspace accessor
accessor outcome workspace
outcome
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
expectedIntent EditCodeIntent
outcome workspace accessor
accessor outcome workspace
outcome
outcomefileContents
fileContents
lines fileContents
i
i lineslength linesi
i
i lineslength linesi
i
i lineslength linesi
i
lineslength i
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
outcomefileContents
accessor outcome workspace
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
str substr
strsubstrlength
assert
outcomefileContents
outcomefileContents
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
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 EditCodeIntent
outcome workspace accessor
outcome
text
assertoutcomefileContentstext
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
selection
strategy testingServiceCollection
files
queries
file
selection selectionstartline selectionstartcharacter selectionendline selectionendcharacter
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
selection
strategy testingServiceCollection
files
queries
file
selection selectionstartline selectionstartcharacter selectionendline selectionendcharacter
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
edit outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
editchangedModifiedLines
outcome
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
expectedIntent EditCodeIntent
outcome workspace accessor
edit outcome
line
originalLength
modifiedLength
editchangedModifiedLines
outcome
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
outcomefileContents
fileContentsWithoutComments outcomefileContents
fileContentsWithoutComments
fileContentsWithoutComments
assertoutcomefileContentslength
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
edit outcome
line
originalLength
modifiedLength
editchangedModifiedLines
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
editchangedModifiedLines
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
accessor outcome workspace
outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
outcomefileContents
accessor outcome workspace
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
outcomefileContents
accessor outcome workspace
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
outcomefileContents
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
expectedIntent EditCodeIntent
outcome workspace accessor
outcome
outcomefileContents
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent
outcome workspace accessor
accessor outcome workspace KnownDiagnosticProviderstscIgnoreImportErrors
outcome
assertoutcomefileContentslength outcomeoriginalFileContentslength
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
accessor outcome workspace
outcome
line
originalLength
modifiedLength
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
filePath
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
accessor outcome workspace
outcome
outcomefileContents
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
accessor outcome workspace
edit outcome
line
originalLength
modifiedLength
editchangedModifiedLines
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
expectedIntent
outcome workspace accessor
outcome
outcome
line
originalLength
modifiedLength
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
accessor outcome workspace KnownDiagnosticProviderstscIgnoreImportErrors
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
accessor outcome workspace KnownDiagnosticProviderstscIgnoreImportErrors
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
accessor outcome workspace KnownDiagnosticProviderstscIgnoreImportErrors
firstLine outcomefileContents
assertfirstLine
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
visibleRanges
query
expectedIntent
outcome workspace accessor
outcome
outcome
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
line
originalLength
modifiedLength
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
assertoutcomefileContentslength outcomeoriginalFileContentslength
accessor outcome workspace
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace
outcome
assertoutcomefileContentslength outcomeoriginalFileContentslength
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
assertoutcomefileContentslength outcomeoriginalFileContentslength
accessor outcome workspace KnownDiagnosticProviderstscIgnoreImportErrors
outcomefileContents
description language nonExtensionConfigurations testingServiceCollection
strategy testingServiceCollection
files
queries
file
selection
query
diagnostics
expectedIntent
outcome workspace accessor
outcome
assertoutcomefileContentslength outcomeoriginalFileContentslength
accessor outcome workspace KnownDiagnosticProviderstscIgnoreImportErrors
outcomefileContents