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 { Node, HtmlNode, Rule, Property, Stylesheet } from 'EmmetFlatNode';
import { getEmmetHelper, getFlatNode, getHtmlFlatNode, getMappingForIncludedLanguages, validate, getEmmetConfiguration, isStyleSheet, getEmmetMode, parsePartialStylesheet, isStyleAttribute, getEmbeddedCssNodeIfAny, allowedMimeTypesInScriptTag, toLSTextDocument, isOffsetInsideOpenOrCloseTag } from './util';
import { getRootNode as parseDocument } from './parseDocument';
const trimRegex =
hexColorRegex
syntax
abbreviation
rangeToReplace vscodeRange
textToWrap
filter
indent
baseIndent
previewRange vscodeRange
originalRange vscodeRange
originalContent
textToWrapInPreview
baseIndent
args
editor vscodewindowactiveTextEditor
document editordocument
args args
args
args documentlanguageId
syntax args
rootNode document
helper
operationRanges editorselectionsa b astartbstartselection
rangeToReplace vscodeRange selection
start end rangeToReplace
startOffset documentstart
documentText document
startNode documentText rootNode startOffset
startNode startNode startOffset
start documentstartNodestart
nodeEndPosition documentstartNodeend
end nodeEndPositionend nodeEndPosition end
endOffset documentend
endNode documentText rootNode endOffset
endNode endNode endOffset
nodeStartPosition documentendNodestart
start nodeStartPositionstart nodeStartPosition start
nodeEndPosition documentendNodeend
end nodeEndPositionend nodeEndPosition end
rangeToReplace start end
rangeToReplaceisSingleLine rangeToReplaceendcharacter
previousLine rangeToReplaceendline
rangeToReplace rangeToReplacestart documentpreviousLinerangeend
rangeToReplaceisEmpty
rangeToReplace documentrangeToReplacestartrange
firstLineOfRange documentrangeToReplacestart
firstLineOfRangeisEmptyOrWhitespace firstLineOfRangefirstNonWhitespaceCharacterIndex rangeToReplacestartcharacter
rangeToReplace rangeToReplace rangeToReplacestartline firstLineOfRangefirstNonWhitespaceCharacterIndex
rangeToReplace
mergedRanges range
mergedRangeslength rangemergedRangesmergedRangeslength
mergedRangesrangemergedRanges
mergedRangesrange
mergedRanges
vscodeRange
oldSelections editorselections
editorselections operationRangesrange rangestart rangeend
rangesToReplace PreviewRangesWithContent operationRangesrangeToReplace
textToWrapInPreview
textToReplace documentrangeToReplace
wholeFirstLine documentrangeToReplacestarttext
otherMatches wholeFirstLine
baseIndent otherMatches otherMatches
textToWrapInPreview rangeToReplaceisSingleLine
textToReplace
textToReplace baseIndentx x
textToWrapInPreview textToWrapInPreviewe e
previewRange rangeToReplace
originalRange rangeToReplace
originalContent textToReplace
textToWrapInPreview
baseIndent
tabSize insertSpaces editoroptions
indent insertSpaces tabSize
Thenable
editorbuilder
rangeToReplace rangesToReplace
builderrangeToReplacepreviewRange rangeToReplaceoriginalContent
rangeToReplacepreviewRange rangeToReplaceoriginalRange
undoStopBefore undoStopAfter
expandAbbrList ExpandAbbreviationInput Thenable
lastOldPreviewRange
lastNewPreviewRange
totalNewLinesInserted
editorbuilder
i i rangesToReplacelength i
expandedText expandAbbrListi
expandedText
oldPreviewRange rangesToReplaceipreviewRange
newText expandedText
_ placeholder placeholder
builderoldPreviewRange newText
expandedTextLines newText
oldPreviewLines oldPreviewRangeendline oldPreviewRangestartline
newLinesInserted expandedTextLineslength oldPreviewLines
newPreviewLineStart oldPreviewRangestartline totalNewLinesInserted
newPreviewStart oldPreviewRangestartcharacter
newPreviewLineEnd oldPreviewRangeendline totalNewLinesInserted newLinesInserted
newPreviewEnd expandedTextLinesexpandedTextLineslength length
i newPreviewLineEnd lastNewPreviewRangeendline
newPreviewStart lastNewPreviewRangeendcharacter oldPreviewRangestartcharacter lastOldPreviewRangeendcharacter
newPreviewEnd newPreviewStart
i newPreviewLineStart lastNewPreviewRangeendline
newPreviewStart lastNewPreviewRangeendcharacter oldPreviewRangestartcharacter lastOldPreviewRangeendcharacter
expandedTextLineslength
newPreviewEnd oldPreviewRangestartcharacter
lastOldPreviewRange rangesToReplaceipreviewRange
lastNewPreviewRange newPreviewLineStart newPreviewStart newPreviewLineEnd newPreviewEnd
rangesToReplaceipreviewRange lastNewPreviewRange
totalNewLinesInserted newLinesInserted
undoStopBefore undoStopAfter
inPreviewMode
inputAbbreviation previewChanges
isAbbreviationValid inputAbbreviation inputAbbreviation helpersyntax inputAbbreviation
extractedResults isAbbreviationValid helperinputAbbreviation syntax
extractedResults
inPreviewMode
inPreviewMode
abbreviation filter extractedResults
abbreviation inputAbbreviation
previewChanges
expandAbbrList ExpandAbbreviationInput rangesToReplacerangesAndContent
syntax abbreviation rangeToReplace rangesAndContentoriginalRange textToWrap rangesAndContenttextToWrapInPreview filter indent baseIndent rangesAndContentbaseIndent
inPreviewMode
expandAbbrList
expandAbbrList ExpandAbbreviationInput rangesToReplacerangesAndContent
syntax abbreviation rangeToReplace rangesAndContentoriginalRange textToWrap rangesAndContenttextToWrapInPreview filter indent
inPreviewMode
inPreviewMode
editor expandAbbrList
currentValue
value
value currentValue
currentValue value
value
prompt vscodel10n
inputAbbreviation args args
args
vscodewindow prompt validateInput inputChanged
changesWereMade inputAbbreviation
changesWereMade
editorselections oldSelections
changesWereMade
args Thenable
vscodewindowactiveTextEditor
vscodewindowactiveTextEditorselectionslength
vscodewindowactiveTextEditorselectionisEmpty
anchor vscodewindowactiveTextEditorselectionanchor
anchorcharacter
prevPositionAnchor anchor
prevText vscodewindowactiveTextEditordocument prevPositionAnchor anchor
prevText prevText
args args
args
args vscodewindowactiveTextEditordocumentlanguageId
excludedLanguages vscodeworkspace vscodeworkspace
excludedLanguagesvscodewindowactiveTextEditordocumentlanguageId
syntax args
syntax
editor vscodewindowactiveTextEditor
vscodeworkspace editorselectionsx xisEmpty
abbreviationList ExpandAbbreviationInput
firstAbbreviation
allAbbreviationsSame
helper
getAbbreviation document vscodeTextDocument selection vscodeSelection position vscodePosition syntax vscodeRange
position documentposition
rangeToReplace vscodeRange selection
abbr documentrangeToReplace
rangeToReplaceisEmpty
extractedResults helperabbr syntax
extractedResults
rangeToReplace extractedResultsabbreviation extractedResultsfilter
currentLine editordocumentpositionlinetext
textTillPosition currentLine positioncharacter
syntax
matches textTillPosition
matches
abbr matches
rangeToReplace position abbrlength position
rangeToReplace abbr
extractedResults helpereditordocument position lookAhead
extractedResults
abbreviationRange abbreviation filter extractedResults
abbreviationRangestartline abbreviationRangestartcharacter abbreviationRangeendline abbreviationRangeendcharacter abbreviation filter
selectionsInReverseOrder editorselections
selectionsInReverseOrdera b
posA aisReversed aanchor aactive
posB bisReversed banchor bactive
posAposB
rootNode Node
rootNode
rootNode
usePartialParsing vscodeworkspace
editorselectionslength editordocumentlanguageId usePartialParsing editordocumentlineCount
rootNode editordocument editorselectionisReversed editorselectionanchor editorselectionactive
rootNode editordocument
rootNode
selectionsInReverseOrderselection
position selectionisReversed selectionanchor selectionactive
rangeToReplace abbreviation filter editordocument selection position syntax
rangeToReplace
helpersyntax abbreviation
syntax abbreviation
offset editordocumentposition
currentNode offset
validateLocation
syntaxToUse syntax
editordocumentlanguageId
currentNode offset
syntaxToUse
validateLocation
embeddedCssNode editordocument currentNode position
embeddedCssNode
currentNode embeddedCssNode offset
syntaxToUse
validateLocation editordocument currentNode syntaxToUse offset rangeToReplace
firstAbbreviation
firstAbbreviation abbreviation
allAbbreviationsSame firstAbbreviation abbreviation
allAbbreviationsSame
abbreviationList syntax syntaxToUse abbreviation rangeToReplace filter
editor abbreviationList allAbbreviationsSamesuccess
success
Thenable
vscodeworkspace
vscodecommands
document vscodeTextDocument rootNode Node currentNode Node syntax offset abbreviationRange vscodeRange
syntax
stylesheet StylesheetrootNode
stylesheet stylesheetcomments x offset xstart offset xend
currentNode
abbreviation document abbreviationRangestartline abbreviationRangestartcharacter abbreviationRangeendline abbreviationRangeendcharacter
abbreviation
syntax syntax currentNodetype
currentNodeparent
currentNodeparenttype
currentNodeparenttype
propertyNode PropertycurrentNode
propertyNodeterminatorToken
propertyNodeseparator
offset propertyNodeseparatorTokenend
offset propertyNodeterminatorTokenstart
abbreviation
hexColorRegexabbreviation abbreviation
propertyNodeterminatorToken
propertyNodeseparator
offset propertyNodeseparatorTokenend
abbreviation
hexColorRegexabbreviation abbreviation
hexColorRegexabbreviation abbreviation
currentNodetype currentNodetype
currentCssNode RulecurrentNode
offset currentCssNodecontentStartTokenend
currentCssNodeparent
currentCssNodeparenttype currentCssNodeparenttype
currentCssNodeselectorToken
position documentoffset
tokenStartPos documentcurrentCssNodeselectorTokenstart
tokenEndPos documentcurrentCssNodeselectorTokenend
positionline tokenEndPosline
tokenStartPoscharacter abbreviationRangestartcharacter
tokenStartPosline abbreviationRangestartline
startAngle
endAngle
escape
question
currentHtmlNode HtmlNodecurrentNode
start
currentHtmlNode
currentHtmlNodename
typeAttribute currentHtmlNodeattributes x xname
typeValue typeAttribute typeAttributevalue
allowedMimeTypesInScriptTagtypeValue
isScriptJavascriptType typeValue typeValue typeValue
isScriptJavascriptType
language
currentHtmlNodeopen currentHtmlNodeclose
currentHtmlNodeopenend offset offset currentHtmlNodeclosestart
start currentHtmlNodeopenend
lastChildBeforePosition currentHtmlNodefirstChild
lastChildBeforePosition
lastChildBeforePositionend offset
start lastChildBeforePositionend
lastChildBeforePosition lastChildBeforePositionnextSibling
startPos documentstart
textToBackTrack document startPosline startPoscharacter abbreviationRangestartline abbreviationRangestartcharacter
textToBackTracklength
textToBackTrack textToBackTracktextToBackTracklength
textToBackTrack
valid
foundSpace
i textToBackTracklength
textToBackTracki startAngle
i
char textToBackTracki
i
foundSpace char
foundSpace
char question textToBackTracki startAngle
i
char textToBackTracki startAngle
i
char startAngle char endAngle
i textToBackTracki escape
i
char endAngle
i textToBackTracki
char startAngle
valid foundSpace
valid
editor vscodeTextEditor expandAbbrList ExpandAbbreviationInput insertSameSnippet
expandAbbrList expandAbbrListlength
insertedSnippetsCount
insertSameSnippet
expandAbbrLista ExpandAbbreviationInput b ExpandAbbreviationInput brangeToReplacestartarangeToReplacestart
expandAbbrInput expandAbbrList
expandedText expandAbbrInput
expandedText
editor expandedText expandAbbrInputrangeToReplace undoStopBefore undoStopAfter
insertedSnippetsCount
insertedSnippetsCount
anyExpandAbbrInput expandAbbrList
expandedText anyExpandAbbrInput
allRanges expandAbbrListvalue valuerangeToReplace
expandedText
editor expandedText allRanges
input ExpandAbbreviationInput
helper
expandOptions helperinputsyntax inputsyntax inputfilter
inputtextToWrap
inputtextToWrap inputtextToWrape e
inputfilter inputfilter
inputtextToWrap inputtextToWrapline
linetrimRegex
expandOptions inputtextToWrap
expandOptionsoptions
inputrangeToReplaceisSingleLine
expandOptionsoptions
inputindent
expandOptionsoptions inputindent
inputbaseIndent
expandOptionsoptions inputbaseIndent
expandedText
expandedText helperinputabbreviation expandOptions
e
vscodewindow
expandedText
args x
mappedModes
language args
parentMode args
excludedLanguages vscodeworkspace vscodeworkspace
excludedLanguageslanguage
syntax mappedModeslanguage language mappedModes excludedLanguages
syntax
syntax mappedModesparentMode parentMode mappedModes excludedLanguages
syntax