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 childProcess from 'child_process';
import * as fs from 'fs';
import * as path from '../../../../base/common/path.js';
import { Readable } from 'stream';
import { StringDecoder } from 'string_decoder';
import * as arrays from '../../../../base/common/arrays.js';
import { toErrorMessage } from '../../../../base/common/errorMessage.js';
import * as glob from '../../../../base/common/glob.js';
normalization
isEqualOrParent
platform
StopWatch
strings
types
Promises
IFileQuery IFolderQuery IProgressMessage ISearchEngineStats IRawFileMatch ISearchEngine ISearchEngineSuccess isFilePatternMatch hasSiblingFn
spawnRipgrepCmd
prepareQuery
base
basename
rootEntries IDirectoryEntry
pathToEntries relativePath IDirectoryEntry
killCmds
process
killCmdscmd
spawnRipgrepCmd
config IFileQuery
filePattern
normalizedFilePatternLowercase
includePattern globParsedExpression
maxResults
exists
maxFilesize
isLimitHit
resultCount
isCanceled
fileWalkSW StopWatch
directoriesWalked
filesWalked
errors
cmdSW StopWatch
cmdResultCount
killCmds
folderExcludePatterns Map AbsoluteAndRelativeParsedExpression
globalExcludePattern globParsedExpression
walkedPaths path
config IFileQuery spawnRipgrep SpawnRipgrepCmd spawnRipgrepCmd
config config
filePattern configfilePattern
globOptions configignoreGlobCase ignoreCase
includePattern configincludePattern globconfigincludePattern globOptions
maxResults configmaxResults
exists configexists
walkedPaths Object
resultCount
isLimitHit
directoriesWalked
filesWalked
errors
filePattern
normalizedFilePatternLowercase configshouldGlobMatchFilePattern filePatternnormalizedLowercase
globalExcludePattern configexcludePattern globconfigexcludePattern globOptions
folderExcludePatterns
configfolderQueriesfolderQuery
folderExcludeExpression globIExpression
folderQueryexcludePatternexcludePattern
ObjectfolderExcludeExpression excludePatternpattern configexcludePattern
folderQueryexcludePatternlength
ObjectfolderExcludeExpression configexcludePattern
fqPath folderQueryfolderfsPath
configfolderQueries
rootFolderQuery rootFolderQueryfolderfsPath
rootFolder rootFolder fqPath
otherRootFolder
otherRootFolder fqPath configignoreGlobCase
folderExcludeExpressionpathfqPath otherRootFolder
folderExcludePatternsfqPath folderExcludeExpression fqPath configignoreGlobCase
isCanceled
killCmdscmd
folderQueries IFolderQuery extraFiles numThreads result IRawFileMatch message IProgressMessage error Error isLimitHit
fileWalkSW StopWatch
isCanceled
isLimitHit
extraFilesextraFilePath
basename pathextraFilePathfsPath
globalExcludePattern extraFilePathfsPath basename
onResult relativePath extraFilePathfsPath searchPath
cmdSW StopWatch
folderQueries folderQuery IFolderQuery err Error result
cmdTraversal folderQuery numThreads onResult onMessage err Error
err
errorMessage err
errorMessage
errorserrorMessage
err
errors _result
fileWalkSW
err errors arrayserrors
err isLimitHit
list item err Error result err Error result
results listlength
errors listlength
didErrorOccur
doneCount
listlength
listitem index
item error result
error
didErrorOccur
resultsindex
errorsindex error
resultsindex result
errorsindex
doneCount listlength
didErrorOccur errors results
fun that args
that args
e
argsargslength e
folderQuery IFolderQuery numThreads result IRawFileMatch message IProgressMessage err Error
rootFolder folderQueryfolderfsPath
isMac platformisMacintosh
leftover
tree
ripgrep
ripgrep config folderQuery configincludePattern folderExcludePatternsfolderQueryfolderfsPathexpression numThreads
err
err err err
cmd ripgrepcmd
cmdpid
cmd
killCmdskillCmd
killCmdskillCmd
err Error
killCmdskillCmd
killCmdskillCmd
err
isCanceled
cmd
cmd
noSiblingsClauses ObjectripgrepsiblingClauseslength
escapedArgs ripgreprgArgsargs
arg arg arg
rgCmd
ripgreprgArgssiblingClauses
rgCmd
message rgCmd
cmdResultCount
cmd onMessage err Error stdout last
err
err
isLimitHit
normalized leftover isMac normalizationstdout stdout
relativeFiles normalized
last
n relativeFileslength
relativeFilesn relativeFilesn
relativeFilesn
relativeFiles
leftover relativeFiles
relativeFileslength relativeFiles
cmdResultCount relativeFileslength
noSiblingsClauses
relativePath relativeFiles
onResult base rootFolder relativePath searchPath folderQuery relativePath
isLimitHit
last isLimitHit
folderQuery tree rootFolder relativeFiles onResult
last
tree rootFolder onResult
folderQuery IFolderQuery
excludePattern folderExcludePatternsfolderQueryfolderfsPath
basenames excludePattern
pathTerms excludePattern
args
basenameslength pathTermslength
args
basename basenames
args basename
args
path pathTerms
args path
args
args
args
args
childProcess args cwd folderQueryfolderfsPath
cmd childProcessChildProcess encoding BufferEncoding err Error stdout
all
cmd encoding err Error stdout last
err
err
all stdout
last
all
cmd childProcessChildProcess encoding BufferEncoding message IProgressMessage err Error stdout last
err Error stdout last
err last
cmdSW
err stdout last
gotData
cmdstdout
cmdstdout encoding onData
cmdstdout gotData
message
stderr Buffer
cmdstderr
stderr cmdstderr
message
cmd err Error
err
cmd code
stderrText
gotData stderrText stderr encoding stderrText
exists code
isLimitHit
stream Readable encoding BufferEncoding err Error stdout StringDecoder
decoder encoding
stream data Buffer
decoderdata
decoder
stream Readable Buffer
buffers Buffer
stream data Buffer
buffersdata
buffers
buffers Buffer encoding BufferEncoding
decoder encoding
buffersbuffer decoderbuffer
IDirectoryTree
tree IDirectoryTree
rootEntries
pathToEntries Object
treepathToEntries treerootEntries
tree
folderQuery IFolderQuery pathToEntries IDirectoryTree base relativeFiles result IRawFileMatch
filePatternMatch filePattern relativeFilesf stringsf filePattern configignoreGlobCase
filePatternMatch
onResult
base
relativePath filePatternMatch
searchPath folderQuery filePatternMatch
relativePath
basename pathrelativePath
dirname pathrelativePath
entries pathToEntriesdirname
entries
entries pathToEntriesdirname
dirname
entries
base
relativePath
basename
searchPath folderQuery relativePath
relativeFilesadd
rootEntries pathToEntries IDirectoryTree rootFolder result IRawFileMatch
self
excludePattern folderExcludePatternsrootFolder
filePattern filePattern
ignoreGlobCase configignoreGlobCase
entries IDirectoryEntry
selfdirectoriesWalked
hasSibling entriesentry entrybasename
i n entrieslength i n i
entry entriesi
relativePath basename entry
excludePatternrelativePath basename stringsfilePattern basename ignoreGlobCase hasSibling
sub pathToEntriesrelativePath
sub
sub
selffilesWalked
stringsrelativePath filePattern ignoreGlobCase
selfonResult entry
selfisLimitHit
rootEntries
ISearchEngineStats
cmdTime cmdSW
fileWalkTime fileWalkSW
directoriesWalked directoriesWalked
filesWalked filesWalked
cmdResultCount cmdResultCount
folderQuery IFolderQuery relativeParentPath files result IRawFileMatch error Error
rootFolder folderQueryfolder
hasSibling files
files file error Error _
isCanceled isLimitHit
currentRelativePath relativeParentPath relativeParentPath filepathsep file
folderExcludePatternsfolderQueryfolderfsPathcurrentRelativePath file stringsconfigfilePattern file configignoreGlobCase hasSibling
currentAbsolutePath rootFolderfsPath currentRelativePathpathsep
fscurrentAbsolutePath error lstat
error isCanceled isLimitHit
currentAbsolutePath lstat error stat
error isCanceled isLimitHit
stat
directoriesWalked
currentAbsolutePath lstat error realpath
error isCanceled isLimitHit
realpath realpath
walkedPathsrealpath
walkedPathsrealpath
PromisescurrentAbsolutePathchildren
isCanceled isLimitHit
folderQuery currentRelativePath children onResult err err
error
filesWalked
stringscurrentRelativePath filePattern configignoreGlobCase
maxFilesize typesstatsize statsize maxFilesize
onResult
base rootFolderfsPath
relativePath currentRelativePath
searchPath folderQuery currentRelativePath
error Error
filteredErrors error arrayserror error
filteredErrors filteredErrorslength filteredErrors
result IRawFileMatch candidate IRawFileMatch
candidate includePattern candidaterelativePath pathcandidaterelativePath
resultCount
exists maxResults resultCount maxResults
isLimitHit
isLimitHit
candidate
candidate IRawFileMatch
filePattern
filePattern
normalizedFilePatternLowercase
candidate normalizedFilePatternLowercase
filePattern
candidate filePattern configignoreGlobCase
path lstat fsStats error Error stat fsStats
lstat
fspath clb
lstat
path lstat fsStats error Error realpath
lstat
fspath error realpath
error
error
realpath
path
folderQuery IFolderQuery relativePath
folderQueryfolderName
pathfolderQueryfolderName relativePath
relativePath
folderQueries IFolderQuery
extraFiles
walker FileWalker
numThreads
config IFileQuery numThreads
folderQueries configfolderQueries
extraFiles configextraFileResources
numThreads numThreads
walker config
result IRawFileMatch progress IProgressMessage error Error complete ISearchEngineSuccess
walkerfolderQueries extraFiles numThreads onResult onProgress err Error isLimitHit
err
limitHit isLimitHit
stats walker
messages
walker
absoluteParsedExpr globParsedExpression
relativeParsedExpr globParsedExpression
expression globIExpression root ignoreCase
expression
expr globIExpression
absoluteGlobExpr globIExpression
relativeGlobExpr globIExpression
Objectexpr
key exprkey
key
pathkey
absoluteGlobExpr absoluteGlobExpr glob
absoluteGlobExprkey exprkey
relativeGlobExpr relativeGlobExpr glob
relativeGlobExprkey exprkey
globOptions trimForExclusions ignoreCase ignoreCase
absoluteParsedExpr absoluteGlobExpr globabsoluteGlobExpr globOptions
relativeParsedExpr relativeGlobExpr globrelativeGlobExpr globOptions
_path basename hasSibling name
relativeParsedExpr _path basename hasSibling
absoluteParsedExpr pathroot _path basename hasSibling
basenameTerms
absoluteParsedExpr
basenameTermsglobabsoluteParsedExpr
relativeParsedExpr
basenameTermsglobrelativeParsedExpr
basenameTerms
pathTerms
absoluteParsedExpr
pathTermsglobabsoluteParsedExpr
relativeParsedExpr
pathTermsglobrelativeParsedExpr
pathTerms
msg
lines msg
firstLine lines
firstLine
firstLine
firstLine
stringslineslineslength
firstLine
firstLine
firstLine firstLine
firstLine
firstLine
firstLine