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 { beforeEach, describe, expect, it, vi } from 'vitest';
import { TestLogService } from '../../../../../platform/testing/common/testLogService';
import { MockMcpServer, parseToolResult, createMockEditor } from './testHelpers';
const { mockActiveTextEditor } = vi.hoisted(() => ({
mockActiveTextEditor: { value: null as unknown },
}));
vi
window
mockActiveTextEditorvalue
registerGetSelectionTool SelectionState getSelectionInfo
text
filePath
fileUrl
current
selection
start line character
end line character
isEmpty
editor
info editor TextEditor
infotext
infofilePath
infofileUrl
infoselectionstartline
infoselectionstartcharacter
infoselectionendline
infoselectionendcharacter
infoselectionisEmpty
editor
info editor TextEditor
infotext
infoselectionisEmpty
editor
info editor TextEditor
infotext
infoselectionstartline
infoselectionendline
state
statelatest
state
selectionInfo
text
filePath
fileUrl
selection
start line character
end line character
isEmpty
stateselectionInfo
statelatestselectionInfo
state
state
text
filePath
fileUrl
selection
start line character
end line character
isEmpty
state
statelatest
logger
selectionState SelectionState
server MockMcpServer
selectionState
server
mockActiveTextEditorvalue
server McpServer logger selectionState
server
handler server
result
result
selectionState
text
filePath
fileUrl
selection
start line character
end line character
isEmpty
handler server
result
resulttext
resultcurrent
resultfilePath
mockActiveTextEditorvalue
handler server
result
resulttext
resultcurrent
mockActiveTextEditorvalue
handler server
result
resulttext
resultcurrent
resultselectionisEmpty