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 { AbstractDocument } from '../../../../platform/editing/common/abstractText';
import { OverlayNode } from '../../../../platform/parser/node/nodes';
import { binarySearch2, equals } from '../../../../util/vs/base/common/arrays';
import { CharCode } from '../../../../util/vs/base/common/charCode';
import { BugIndicatingError } from '../../../../util/vs/base/common/errors';
import { OffsetRange } from '../../../../util/vs/editor/common/core/ranges/offsetRange';
import { Range } from '../../../../vscodeTypes';
export
ast OverlayNode
document TDocument
userSelection Range
adjusted OffsetRange original OffsetRange
documentText document
astWithoutWs ast documentText
root LinkedOverlayNodedocumentText astWithoutWs ast
start documentuserSelectionstart
end documentuserSelectionend
adjustedSelection root start end
adjusted adjustedSelection original start end
ast OverlayNode text OverlayNode
newStartIndex aststartIndex text
newEndIndex MathnewStartIndex astendIndex text
newStartIndex newEndIndex
arr astchildrenchild child texts s
newStartIndex aststartIndex newEndIndex astendIndex arr astchildren
ast
newStartIndex newEndIndex astkind arr
idx str
idx strlength
ch stridx
ch CharCodeSpace ch CharCodeTab ch CharCodeLineFeed ch CharCodeCarriageReturn
idx
idx
idx
idx str
idx
ch stridx
ch CharCodeSpace ch CharCodeTab ch CharCodeLineFeed ch CharCodeCarriageReturn
idx
idx
idx
root LinkedOverlayNode start end
start end root start end
root start end
root LinkedOverlayNode initialStart initialEnd
selectedText roottextinitialStart initialEnd
selectedTextIsEmptyOrWhitespace selectedText
selectedTextIsEmptyOrWhitespace
initialStart initialEnd
start initialStart
end initialEnd
goLeft
goRight
goRight end roottextlength
goRight
goRight
nextCharCode roottextend
nextCharCode CharCodeCarriageReturn nextCharCode CharCodeLineFeed
goRight
nextCharCode CharCodeSpace nextCharCode CharCodeTab
end end
end
goLeft start
goLeft
goLeft
prevCharCode roottextstart
prevCharCode CharCodeCarriageReturn prevCharCode CharCodeLineFeed
goLeft
prevCharCode CharCodeSpace prevCharCode CharCodeTab
start start
start
goLeft goRight
initialStart initialEnd
root LinkedOverlayNode start end OffsetRange
start start end roottextstart CharCodeLineFeed roottextstart CharCodeLineFeed
start
start root start
end root end
startNode rootstart
endNode rootend
hasChanged
newStart
newStart start
start root newStart
hasChanged
startNode rootstart
newEnd
newEnd end
end root newEnd
hasChanged
endNode rootend
hasChanged
startNode
matchingGap startNodeisFirstGapInParent startNodeparentlastGap
hasSelectedContentInGap startNodestart end
hasSelectedContentInMatchingGap matchingGap matchingGapstart end
extendSelection hasSelectedContentInGap hasSelectedContentInMatchingGap
extendSelection
startNodefirstNonWhitespaceIndex
extendSelection matchingGap
matchingGaplastNonWhitespaceIndex
endNode
matchingFirstGap endNodeisLastGapInParent endNodeparentfirstGap
hasSelectedContentInGap endNodestart end
hasSelectedContentInFirstGap matchingFirstGap matchingFirstGapstart end
extendSelection hasSelectedContentInGap hasSelectedContentInFirstGap
extendSelection endNodelastNonWhitespaceIndex end
endNodelastNonWhitespaceIndex
extendSelection matchingFirstGap
matchingFirstGapfirstNonWhitespaceIndex
startNode root start end
startNodestartIndex start
startNodestartIndex
endNode root start end
endNodeendIndex end
endNodeendIndex
hasChanged
start end
root LinkedOverlayNode start
start
charCodeBeforeSelection roottextstart
charCodeBeforeSelection CharCodeSpace charCodeBeforeSelection CharCodeTab
start
start
root LinkedOverlayNode end
charCodeBefore end roottextend CharCodeNull
charCodeBefore CharCodeLineFeed
end
end roottextlength
charCodeAfterSelection roottextend
charCodeAfterSelection CharCodeSpace charCodeAfterSelection CharCodeTab
end
end
str
str
text root OverlayNode LinkedOverlayNode
linkedRoot text rootstartIndex rootendIndex rootkind
LinkedOverlayNodetext root linkedRoot
linkedRoot
text overlayNode OverlayNode linkedNode LinkedOverlayNode
i i overlayNodechildrenlength i
child overlayNodechildreni
linkedChild text linkedNode childstartIndex childendIndex childkind i
linkedNodechildrenlinkedChild
LinkedOverlayNodetext child linkedChild
_originalText
parent LinkedOverlayNode
startIndex
endIndex
kind
children LinkedOverlayNode
myIndex
_originalTextstartIndex endIndex
range OffsetRange
range_originalText
range OffsetRange
content range
content
childIndex LinkedOverlayNodeGap
startIndex childIndex startIndex childrenchildIndex endIndex
endIndex childIndex childrenlength endIndex childrenchildIndexstartIndex
_originalText startIndex endIndex childIndex
childIndex LinkedOverlayNode
childrenchildIndex
LinkedOverlayNodeGap
childrenlength
LinkedOverlayNodeGap
childrenlength
childrenlength
offset LinkedOverlayNode
childrenlength
index childrenlength index
child childrenindex
offset childstartIndex offset childendIndex
offset childstartIndex
index
index
childrenindexoffset
offset LinkedOverlayNodeOrGap
leaf leafChildGapIndex offset
leafChildGapIndex
leafleafChildGapIndex
leaf
LinkedOverlayNode
currentNode LinkedOverlayNode
nextSibling currentNodenextSibling
nextSibling
nextSiblingleftMostLeafChild
currentNode currentNodeparent
currentNode
LinkedOverlayNode
currentNode LinkedOverlayNode
currentNodechildrenlength
currentNode currentNodechildren
currentNode
LinkedOverlayNode
parent parent
prevIndex myIndex
parent prevIndex parentchildrenprevIndex
LinkedOverlayNode
parent parent
nextIndex myIndex
parent nextIndex parentchildrenlength parentchildrennextIndex
_originalText
parent LinkedOverlayNode
startIndex
endIndex
gapIndex
startIndex endIndex
OffsetRange
startIndex endIndex
gapIndex
gapIndex parentchildrenlength
_originalTextstartIndex endIndex
start end
selectedGapRange range start end
selectedGapText selectedGapRange _originalTextselectedGapRangestart selectedGapRangeendExclusive
selectedGapText
index startIndex
index endIndex
charCode _originalTextindex
charCode CharCodeTab charCode CharCodeSpace charCode CharCodeLineFeed
index
index
endIndex
index endIndex
index startIndex
charCode _originalTextindex
charCode CharCodeTab charCode CharCodeSpace charCode CharCodeLineFeed
index
index
startIndex
LinkedOverlayNode
nextSibling parentgapIndex
nextSibling nextSiblingleftMostLeafChild parentnextLeaf
LinkedOverlayNode LinkedOverlayNodeGap