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 { Disposable } from '../../../../../base/common/lifecycle.js';
import { IConfigurationService } from '../../../../../platform/configuration/common/configuration.js';
import { ITerminalLogService, TerminalSettingId } from '../../../../../platform/terminal/common/terminal.js';
import { IXtermTerminal } from '../../../terminal/browser/terminal.js';
import type { IMarker, Terminal } from '@xterm/xterm';
export class BufferContentTracker extends Disposable {
/**
* Marks the last part of the buffer that was cached
*/
private _lastCachedMarker: IMarker |
_priorEditorViewportLineCount
_lines
_lines
bufferToEditorLineMapping Map
_xterm PickIXtermTerminal raw Terminal
_configurationService IConfigurationService
_logService ITerminalLogService
_lines
_lastCachedMarker
_lastCachedMarkerisDisposed
_lines
_lastCachedMarker
_lastCachedMarker _xtermraw
_logService _lineslength
buffer _xtermrawbufferactive
start _lastCachedMarkerline _lastCachedMarkerline _xtermrawrows
end bufferbaseY
start start end
scrollback _configurationServiceTerminalSettingIdScrollback
maxBufferSize scrollback _xtermrawrows
linesToAdd end start
linesToAdd _lineslength maxBufferSize
numToRemove linesToAdd _lineslength maxBufferSize
i i numToRemove i
_lines
_logService numToRemove _lineslength
cachedLines
currentLine
i start i end i
line bufferi
line
bufferToEditorLineMappingi _lineslength cachedLineslength
isWrapped bufferi isWrapped
currentLine lineisWrapped
currentLine isWrapped i bufferbaseY _xtermrawrows
linelength
cachedLinescurrentLine
currentLine
_logService cachedLineslength
_linescachedLines
_lineslength
linesToRemove _priorEditorViewportLineCount
index
linesToRemove
bufferToEditorLineMappingvalue key value _lineslength index bufferToEditorLineMappingkey
_lines
index
linesToRemove
_logService _lineslength
buffer _xtermrawbufferactive
_priorEditorViewportLineCount
currentLine
i bufferbaseY i bufferbaseY _xtermrawrows i
line bufferi
line
bufferToEditorLineMappingi _lineslength
isWrapped bufferi isWrapped
currentLine lineisWrapped
currentLine isWrapped i bufferbaseY _xtermrawrows
currentLinelength
_priorEditorViewportLineCount
_linescurrentLine
currentLine
_logService _lineslength