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 { getDeepestFlatNode, findNextWord, findPrevWord, getHtmlFlatNode, offsetRangeToSelection } from './util';
import { HtmlNode } from 'EmmetFlatNode';
export function nextItemHTML(document: vscode.TextDocument, selectionStart: vscode.Position, selectionEnd: vscode.Position, rootNode: HtmlNode): vscode.Selection | undefined {
const selectionEndOffset = document.offsetAtselectionEnd
currentNode document rootNode selectionEndOffset
nextNode HtmlNode
currentNode
currentNodetype
currentNodeopen
selectionEndOffset currentNodeopenstart currentNodenamelength
document currentNode
currentNodeopen
selectionEndOffset currentNodeopenend
selectionStartOffset documentselectionStart
attrSelection document selectionStartOffset selectionEndOffset currentNode
attrSelection
attrSelection
nextNode currentNodefirstChild
nextNode selectionEndOffset nextNodeend nextNodetype
nextNode nextNodenextSibling
nextNode currentNode
currentNodenextSibling
currentNodenextSiblingtype
nextNode currentNodenextSibling
currentNode currentNodenextSibling
currentNode currentNodeparent
nextNode document nextNode
document vscodeTextDocument selectionStart vscodePosition selectionEnd vscodePosition rootNode HtmlNode vscodeSelection
selectionStartOffset documentselectionStart
currentNode document rootNode selectionStartOffset
prevNode HtmlNode
currentNode
selectionEndOffset documentselectionEnd
currentNodeopen
currentNodetype
selectionStartOffset currentNodeopenstart
selectionStartOffset currentNodeopenend currentNodefirstChild selectionEndOffset currentNodefirstChildstart
prevNode currentNode
prevNode currentNodefirstChild
oldOption HtmlNode
prevNodenextSibling selectionStartOffset prevNodenextSiblingend
prevNode prevNodetype
oldOption prevNode
prevNode prevNodenextSibling
prevNode HtmlNodeprevNode prevNodetype prevNode oldOption
prevNode currentNode
currentNodepreviousSibling
currentNodepreviousSiblingtype
prevNode HtmlNodecurrentNodepreviousSibling
currentNode currentNodepreviousSibling
prevNode currentNodeparent
prevNode
attrSelection document selectionStartOffset selectionEndOffset prevNode
attrSelection attrSelection document prevNode
document vscodeTextDocument node HtmlNode vscodeSelection
node nodeopen
selectionStart nodeopenstart
selectionEnd selectionStart nodenamelength
document selectionStart selectionEnd
document vscodeTextDocument selectionStart selectionEnd node HtmlNode vscodeSelection
nodeattributes nodeattributeslength nodetype
attr nodeattributes
selectionEnd attrstart
document attrstart attrend
attrvalue attrvaluestart attrvalueend
selectionStart attrstart selectionEnd attrend
selectionEnd attrvaluestart
document attrvaluestart attrvalueend
attrvalue
pos
selectionStart attrvaluestart selectionEnd attrvalueend
pos
pos selectionEnd attrend
selectionEndCharacter documentselectionEndcharacter
attrValueStartCharacter documentattrvaluestartcharacter
pos selectionEndCharacter attrValueStartCharacter
pos
newSelectionStartOffset newSelectionEndOffset attrvalue pos
newSelectionStartOffset newSelectionEndOffset
newSelectionStartOffset newSelectionEndOffset
newSelectionStart attrvaluestart newSelectionStartOffset
newSelectionEnd attrvaluestart newSelectionEndOffset
document newSelectionStart newSelectionEnd
document vscodeTextDocument selectionStart selectionEnd node HtmlNode vscodeSelection
nodeattributes nodeattributeslength nodetype
i nodeattributeslength i i
attr nodeattributesi
selectionStart attrstart
attrvalue attrvaluestart attrvalueend selectionStart attrvaluestart
document attrstart attrend
selectionStart attrvaluestart
selectionEnd attrvalueend
document attrstart attrend
document attrvaluestart attrvalueend
selectionStartCharacter documentselectionStartcharacter
attrValueStartCharacter documentattrvaluestartcharacter
pos selectionStart attrvalueend attrvaluelength
selectionStartCharacter attrValueStartCharacter
newSelectionStartOffset newSelectionEndOffset attrvalue pos
newSelectionStartOffset newSelectionEndOffset
newSelectionStartOffset newSelectionEndOffset
newSelectionStart attrvaluestart newSelectionStartOffset
newSelectionEnd attrvaluestart newSelectionEndOffset
document newSelectionStart newSelectionEnd