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.
*--------------------------------------------------------------------------------------------*/
type FilenameAttributes = {
// index.test in index.test.json
basename: string;
// json in index.test.json
extname: string;
// my-folder in my-folder/index.test.json
dirname: string;
};
/**
* A sort of double-ended trie, used to efficiently query for matches to "star" patterns, where
* a given key represents a parent and may contain a capturing group ("*"), which can then be
* referenced via the token "$(capture)" in associated child patterns.
*
* The generated tree will have at most two levels, as subtrees are flattened rather than nested.
*
* Example:
* The config: [
* [ *.ts , [ $(capture).*.ts ; $(capture).js ] ]
* [ *.js , [ $(capture).min.js ] ] ]
* Nests the files: [ a.ts ; a.d.ts ; a.js ; a.min.js ; b.ts ; b.min.js ]
* As:
* - a.ts => [ a.d.ts ; a.js ; a.min.js ]
* - b.ts => [ ]
* - b.min.ts => [ ]
*/
export class ExplorerFileNestingTrie {
private root = new PreTrie();
constructor(config: [string,
parentPattern childPatterns config
childPattern childPatterns
rootparentPattern childPattern
root
filename dirname FilenameAttributes
lastDot filename
lastDot
dirname
basename filename
extname
dirname
basename filename lastDot
extname filenamelastDot
files dirname Map Set
parentFinder
potentialParent files
attributes potentialParent dirname
children rootpotentialParent attributes
child children
parentFinderchild potentialParent
findAllRootAncestors file seen Set
seenfile
seenfile
attributes file dirname
ancestors parentFinderfile attributes
ancestorslength
file
ancestorslength ancestors file
file
ancestorsa a seen
result
file files
ancestors file
ancestorslength ancestors file
ancestor ancestors
existing resultancestor
existing resultancestor existing
file ancestor
existingfile
result
value SufTrie
map Map PreTrie
key value
key
valuekey value
key
valuekey value
head key
rest key
existing maphead
existing
maphead existing
existingrest value
key attributes FilenameAttributes
results
resultsvaluekey attributes
head key
rest key
existing maphead
existing
resultsexistingrest attributes
results
indentation
lines
valuehasItems
lines valueindentation
mapkey trie
lines key trieindentation
linesl indentation l
star SubstitutionString
epsilon SubstitutionString
map Map SufTrie
hasItems
key value
hasItems
key
star value
key
epsilon value
tail keykeylength
rest key keylength
tail
key
existing maptail
existing
maptail existing
existingrest value
key attributes FilenameAttributes
results
key
resultsepsilonss ssattributes
starlength
resultsstarss ssattributes key
tail keykeylength
rest key keylength
existing maptail
existing
resultsexistingrest attributes
results
indentation
lines
starlength
lines star
epsilonlength
lines epsilon
mapkey trie
lineskey trieindentation
linesl indentation l
SubstitutionType
capture
basename
dirname
extname
substitutionStringTokenizer
tokens capture SubstitutionType
pattern
substitutionStringTokenizerlastIndex
token
lastIndex
token substitutionStringTokenizerpattern
prefix patternlastIndex tokenindex
tokensprefix
type token
type
SubstitutionTypebasename
SubstitutionTypedirname
SubstitutionTypeextname
SubstitutionTypecapture
tokens capture type
type
lastIndex tokenindex tokenlength
lastIndex patternlength
suffix patternlastIndex patternlength
tokenssuffix
attributes FilenameAttributes capture
tokenst
t t
tcapture
SubstitutionTypebasename attributesbasename
SubstitutionTypedirname attributesdirname
SubstitutionTypeextname attributesextname
SubstitutionTypecapture capture