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 { getHtmlFlatNode, offsetRangeToSelection, validate } from './util';
import { getRootNode } from './parseDocument';
import { HtmlNode as HtmlFlatNode } from 'EmmetFlatNode';
let balanceOutStack: Array<readonly vscode.Selection[]> = [];
let lastBalancedSelections: readonly vscode.Selection[] = [
out
vscodewindowactiveTextEditor
editor vscodewindowactiveTextEditor
document editordocument
rootNode HtmlFlatNodedocument
rootNode
rangeFn out getRangeToBalanceOut getRangeToBalanceIn
newSelections vscodeSelection editorselectionsselection
document rootNode selection
lastBalancedSelections editorselections
out
editorselections newSelections
balanceOutStackeditorselections
balanceOutStacklength
newSelections balanceOutStack
balanceOutStack out editorselections
editorselections newSelections
lastBalancedSelections editorselections
document vscodeTextDocument rootNode HtmlFlatNode selection vscodeSelection vscodeSelection
offset documentselectionstart
nodeToBalance document rootNode offset
nodeToBalance
selection
nodeToBalanceopen nodeToBalanceclose
document nodeToBalancestart nodeToBalanceend
innerSelection vscodeSelection
outerSelection vscodeSelection
nodeToBalanceclosestart offset nodeToBalancecloseend offset
innerSelection document nodeToBalanceclosestart nodeToBalanceopenend
outerSelection document nodeToBalancecloseend nodeToBalanceopenstart
innerSelection document nodeToBalanceopenend nodeToBalanceclosestart
outerSelection document nodeToBalanceopenstart nodeToBalancecloseend
innerSelectionselection innerSelectionselection
innerSelection
outerSelectionselection outerSelectionselection
outerSelection
selection
document vscodeTextDocument rootNode HtmlFlatNode selection vscodeSelection vscodeSelection
offset documentselectionstart
nodeToBalance document rootNode offset
nodeToBalance
selection
selectionStart documentselectionstart
selectionEnd documentselectionend
nodeToBalanceopen nodeToBalanceclose
entireNodeSelected selectionStart nodeToBalancestart selectionEnd nodeToBalanceend
startInOpenTag selectionStart nodeToBalanceopenstart selectionStart nodeToBalanceopenend
startInCloseTag selectionStart nodeToBalanceclosestart selectionStart nodeToBalancecloseend
entireNodeSelected startInOpenTag startInCloseTag
document nodeToBalanceopenend nodeToBalanceclosestart
nodeToBalancefirstChild
selection
firstChild nodeToBalancefirstChild
selectionStart firstChildstart
selectionEnd firstChildend
firstChildopen
firstChildclose
document firstChildopenend firstChildclosestart
document firstChildstart firstChildend
a vscodeSelection b vscodeSelection
alength blength
i i alength i
aibi