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 * as vscode from 'vscode';
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { makeTextResult } from './utils';
import { ILogger } from '../../../../../platform/log/common/logService';
export interface SelectionInfo {
text: string;
filePath: string;
fileUrl: string;
selection: {
start: { line: number; character: number }
end line character
isEmpty
editor vscodeTextEditor SelectionInfo
document editordocument
selection editorselection
text documentselection
text
filePath documenturifsPath
fileUrl documenturi
selection
start line selectionstartline character selectionstartcharacter
end line selectionendline character selectionendcharacter
isEmpty selectionisEmpty
_latestSelection SelectionInfo
selection SelectionInfo
_latestSelection selection
SelectionInfo
_latestSelection
server McpServer logger ILogger selectionState SelectionState
server description
logger
editor vscodewindowactiveTextEditor
editor
selectionInfo editor
logger
selectionInfo current
selectionStatelatest
logger
selectionStatelatest current
logger