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 { BugIndicatingError } from '../../../util/vs/base/common/errors';
import { Position } from '../../../util/vs/editor/common/core/position';
import { StringText } from '../../../util/vs/editor/common/core/text/abstractText';
import { PositionOffsetTransformer } from '../../../util/vs/editor/common/core/text/positionToOffsetImpl';
/**
* Represents the current document state along with the cursor position within it.
*
* Provides convenience methods for inspecting text around the cursor, such as
* retrieving the cursor's line, the text after the cursor, and whether the
* cursor sits at the end of a line.
*/
export class CurrentDocument {
/** All lines of the document (split by line break). */
public readonly lines: string[];
/** The 0-based character offset of the cursor within the full document text. */
cursorOffset
transformer PositionOffsetTransformer
cursorLineOffset
content StringText
cursorPosition Position
lines content
transformer content
cursorOffset transformercursorPosition
cursorLineOffset cursorPositionlineNumber
line linescursorLineOffset
line
line
line
linecursorPositioncolumn
afterCursor
isAtEndOfLine afterCursor
isAtEndOfLine