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 type * as vscode from 'vscode';
import { TextDocumentSnapshot } from '../../../platform/editing/common/textDocumentSnapshot';
import { ILanguage } from '../../../util/common/languages';
import { FilePathCodeMarker } from '../../context/node/resolvers/selectionContextHelpers';
/**
* A tracker for the number of characters in a sequence of lines.
*/
export class CodeContextTracker {
private _totalChars = 0;
constructor(private readonly charLimit: number) { }
public get
_totalChars
line
_totalChars linelength
line
_totalChars linelength charLimit
lines
firstLineIndex documentlineCount
lastLineIndex
isComplete
nonTrimWhitespaceCharCount
lineslength nonTrimWhitespaceCharCount
lineslength
tracker CodeContextTracker
document TextDocumentSnapshot
language ILanguage
lines
firstLineIndex documentlineCount
lastLineIndex
hasContent
result
result languagelanguageId
resultFilePathCodeMarkerlanguage document
resultlines
result
result
lineIndex
line documentlineIndex
lineText linetext
trackerlineText
firstLineIndex MathfirstLineIndex lineIndex
lastLineIndex MathlastLineIndex lineIndex
lineslineText
trackerlineText
nonTrimWhitespaceCharCount lineTextlength
lineIndex
line documentlineIndex
lineText linetext
trackerlineText
firstLineIndex MathfirstLineIndex lineIndex
lastLineIndex MathlastLineIndex lineIndex
lineslineText
trackerlineText
nonTrimWhitespaceCharCount lineTextlength
rangeToNotModifyrangeToNotModify$firstLineIndex $lastLineIndex`