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 { EndOfLine, TextDocument, TextDocumentChangeEvent, workspace } from 'vscode';
import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry';
import { Disposable } from '../../../../util/vs/base/common/lifecycle';
import { editFromTextDocumentContentChangeEvents } from './common';
/**
* Verifies that VS Code content change API reports consistent document edits.
* Tracks document states and verifies that applying reported edits to the previous state
* produces the new document state. Reports mismatches via telemetry.
*/
export class VerifyTextDocumentChanges extends Disposable {
private readonly _documentStates = new Map<string, text linefeed EndOfLine
_telemetryService ITelemetryService
allowedSchemes
doc TextDocument
allowedSchemesdocurischeme
workspacedoc
doc
docUri docuri
_documentStatesdocUri text doc linefeed doceol
workspacedoc
doc
docUri docuri
_documentStatesdocUri
workspacetextDocumentsdoc
doc
docUri docuri
_documentStatesdocUri text doc linefeed doceol
workspacee
edocument
e
e TextDocumentChangeEvent
docUri edocumenturi
currentText edocument
previousValue _documentStatesdocUri
previousValue
_telemetryService
_documentStatesdocUri text currentText linefeed edocumenteol
edit econtentChanges
expectedText previousValuetext
expectedText currentText
_telemetryService
languageId edocumentlanguageId
scheme edocumenturischeme
sourceOfChange edetailedReasonsource
reason ereason
previousLineFeed previousValuelinefeed
currentLineFeed edocumenteol