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 { exec } from 'child_process';
import * as fs from 'fs/promises';
import { promisify } from 'util';
import type * as vscode from 'vscode';
import * as glob from '../../../util/common/glob';
import { getLanguageForResource } from '../../../util/common/languages';
import { createTextDocumentData } from '../../../util/common/test/shims/textDocument';
import { asArray, coalesce } from
AsyncIterableSource raceTimeout
CancellationToken
Emitter Event
Disposable
ResourceMap
constObservable observableValue
basename
createRegExp
IInstantiationService
Position Range TerminalShellExecutionCommandLineConfidence
ConfigKey
IDebugOutputService
IDialogService
IFileSystemService
FileType RelativePattern
NodeFileSystemService
IGitService RepoContext
Branch Change CommitOptions CommitShortStat DiffChange Ref RefQuery Repository RepositoryAccessDetails
AbstractLanguageDiagnosticsService
ILanguageFeaturesService
ILogService
AlternativeContentFormat getAlternativeNotebookDocumentProvider IAlternativeNotebookContentService
INotebookService PipPackage VariablesResult
INotebookSummaryTracker
IReviewService ReviewComment ReviewDiagnosticCollection
AbstractSearchService
ITabsAndEditorsService TabInfo
IKnownTerminal ITerminalService ShellIntegrationQuality
AbstractWorkspaceService IWorkspaceService
isNotebook SimulationWorkspace
override fs vscodeFileSystem
workspace SimulationWorkspace
override vscodeTextDocument
workspacedocumentsd ddocument
override onDidOpenTextDocument vscodeEventvscodeTextDocument EventNone
override onDidCloseTextDocument vscodeEventvscodeTextDocument EventNone
override onDidOpenNotebookDocument vscodeEventvscodeNotebookDocument EventNone
override onDidCloseNotebookDocument vscodeEventvscodeNotebookDocument EventNone
override onDidChangeTextDocument vscodeEventvscodeTextDocumentChangeEvent EventNone
override onDidChangeWorkspaceFolders vscodeEventvscodeWorkspaceFoldersChangeEvent EventNone
override onDidChangeNotebookDocument vscodeEventvscodeNotebookDocumentChangeEvent EventNone
override onDidChangeTextEditorSelection vscodeEventvscodeTextEditorSelectionChangeEvent EventNone
override document vscodeTextDocument
override uri vscodeUri vscodeTextDocument
workspaceuri
workspaceuridocument
urischeme
fileContents fsworkspaceurifsPath
language uri
doc uri fileContents languagelanguageId
workspacedoc
docdocument
override uri vscodeUri vscodeNotebookDocument
override notebookType content vscodeNotebookData vscodeNotebookDocument
override arg1 vscodeUri arg2 vscodeNotebookData vscodeNotebookDocument
arg1
workspacearg1
workspacearg1document
override vscodeNotebookDocument
workspace
override
workspaceworkspaceFolders
override workspaceFolderUri
workspaceFolderUripath
override
override vscodeWorkspaceFolder
override edit vscodeWorkspaceEdit Thenable
override _resource vscodeUri Thenable
override options vscodeResourceTrustRequestOptions Thenable
override options vscodeWorkspaceTrustRequestOptions Thenable
workspace SimulationWorkspace
override onDidChangeDiagnostics vscodeEventvscodeDiagnosticChangeEvent workspaceonDidChangeDiagnostics
override resource vscodeUri vscodeDiagnostic workspaceworkspace
override vscodeUri vscodeDiagnostic
workspace
_serviceBrand
_delegate NodeFileSystemService
_time Date
_workspace SimulationWorkspace
_workspaceService IWorkspaceService
_delegate
uri vscodeFileStat
doc _workspaceServiceuri
doc
type FileTypeFile
ctime _time
mtime _time
size docbyteLength
_delegate_workspaceuri
_delegate_workspaceuri
uri Uint8Array
containsDoc _workspaceServicetextDocumentsd duri uri
containsDoc
doc _workspaceServiceuri
doc
_delegate_workspaceuri
uri FileType
uriPath uripath uripath
uriPath
seen
result FileType
document _workspaceServicetextDocuments
path documenturipath
pathuriPath
first remaining pathuriPathlength
first seenfirst
seenfirst
resultfirst remaining FileTypeFile FileTypeDirectory
scenarioFolderLoc _workspaceuri
scenarioFolderLoc
entries _delegatescenarioFolderLoc
filter uriPath name name name
name type entries
seenname name
seenname
resultname type
e
result
_delegateuri
uri
_delegate_workspaceuri
uri content Uint8Array
_delegate_workspaceuri content
uri options recursive useTrash
_delegate_workspaceuri options
oldURI newURI options overwrite
_delegate_workspaceoldURI _workspacenewURI options
source destination options overwrite
_delegate_workspacesource _workspacedestination options
scheme
_delegatescheme
glob vscodeRelativePattern vscodeFileSystemWatcher
_delegateglob
_serviceBrand
diagnosticCollection
diagnosticCollection
uri vscodeUri
diagnosticCollectionuri
uri vscodeUri diagnostics vscodeDiagnostic
diagnosticslength
diagnosticCollectionuri diagnostics
diagnosticCollectionuri
_comments ReviewComment
ConfigKeyCodeFeedbackdefaultValue
ConfigKeyAdvancedReviewIntentdefaultValue
ReviewDiagnosticCollection
diagnosticCollection
ReviewComment
_comments
comments ReviewComment
_commentscomments
_comment ReviewComment
comments ReviewComment
comment comments
index _commentscomment
index
_commentsindex
_comment ReviewComment
_threadOrComment vscodeCommentThread vscodeComment ReviewComment
comment ReviewComment vscodeCommentThread
_serviceBrand
_workspace SimulationWorkspace
_variablesMap
notebook vscodeUri vscodeNotebookCell
notebook vscodeUri range start end autoReveal
notebook vscodeUri
notebook vscodeUri VariablesResult
_variablesMapnotebook
notebook vscodeUri PipPackage
uri vscodeUri variables VariablesResult
_workspaceuri
_variablesMapuri variables
uri vscodeUri
uri
type uripathtype
state
_serviceBrand
notebook vscodeNotebookDocument
notebook vscodeNotebookDocument
vscodeNotebookDocument
format
_serviceBrand
format
format AlternativeContentFormat
format
fileSystemService IFileSystemService
workspaceService IWorkspaceService
override query vscodeTextSearchQuery options vscodeFindTextInFilesOptions progress vscodeProgressvscodeTextSearchResult token vscodeCancellationToken vscodeTextSearchComplete
uris optionsinclude exclude optionsexclude optionsexclude maxResults optionsmaxResults token
maxResults optionsmaxResults Number
count
uri uris
doc workspaceServiceuri
count query doc progress
count maxResults
limitHit count maxResults
message
override query vscodeTextSearchQuery2 options vscodeFindTextInFilesOptions2 token vscodeCancellationToken vscodeFindTextInFilesResponse
iterableSource
doSearch vscodeTextSearchComplete2
uris optionsinclude exclude optionsexclude maxResults optionsmaxResults token
maxResults optionsmaxResults Number
count
uri uris
doc workspaceServiceuri
count query doc iterableSource
count maxResults
limitHit count maxResults
completePromise
completePromise
completePromise iterableSource
complete completePromise
results iterableSourceasyncIterable
query vscodeTextSearchQuery2 document vscodeTextDocument iterableSource AsyncIterableSourcevscodeTextSearchMatch2
query document
match
iterableSource
uri matchuri
previewText matchpreviewtext
ranges
previewRange matchpreviewmatches
sourceRange matchranges
query vscodeTextSearchQuery document vscodeTextDocument progress vscodeProgressvscodeTextSearchMatch
matches
r querypattern queryisRegExp
global
matchCase queryisCaseSensitive
wholeWord queryisWordMatch
multiline queryisMultiline
text document
m RegExpExecArray
m rtext
matches
start mindex
end mindex mlength
range documentstart documentend
fullLine documentrangestartlinetext
relativeRange rangestartcharacter rangeendline rangestartline rangeendcharacter
progress
uri documenturi
ranges range
preview
text fullLine
matches relativeRange
matches
override filePattern vscodeGlobPattern vscodeGlobPattern options vscodeFindFiles2Options token vscodeCancellationToken vscodeUri
filePatterns filePattern
out vscodeUri
dir workspaceRoot
tokenisCancellationRequested
entries FileType
entries fileSystemServicedir
e
e
pattern vscodeGlobPattern
pattern
workspaceRoot pattern
pattern
name type entries
uri dir name
type FileTypeFile
filePatternspattern globuri pattern
optionsexclude optionsexcludee globuri e
outuri
type FileTypeDirectory
uri workspaceRoot
root workspaceService
root root
out
_serviceBrand
items Thenable options vscodeQuickPickOptions token vscodeCancellationToken Thenable
options vscodeOpenDialogOptions ThenablevscodeUri
vscodeTextEditor
vscodeTextEditor
vscodeNotebookEditor
_serviceBrand
delegate ITestingTabsAndEditorsServiceDelegate
delegate ITestingTabsAndEditorsServiceDelegate
delegate delegate
onDidChangeActiveTextEditor EventNone
onDidChangeTabs EventNone
vscodeTextEditor
delegate
vscodeTextEditor
delegate
vscodeNotebookEditor
delegate
vscodeNotebookEditor
activeNotebookEditor activeNotebookEditor
TabInfo
activeTextEditor
tab vscodeTab
group
isActive
input uri activeTextEditordocumenturi
isDirty activeTextEditordocumentisDirty
isPinned
isPreview
label
tab uri activeTextEditordocumenturi
_serviceBrand
_workspacedebugConsoleOutput
_workspace SimulationWorkspace
_serviceBrand
activeRepository
onDidOpenRepository EventRepoContext EventNone
onDidCloseRepository EventRepoContext EventNone
onDidFinishInitialization Event EventNone
isInitialized
_workspace SimulationWorkspace
_createImplicitRepos
uri forceOpen RepoContext
uri Repository
uri Repository
uri PickRepoContext
IterableRepositoryAccessDetails
_uri Repository
RepoContext
workspaceFolderPath _workspaceworkspaceFolderPath
_workspaceworkspaceFolderPath
_workspaceworkspaceFolders
workspaceStateRepos _workspacerepositories
workspaceStateRepos
workspaceStateReposrepo RepoContext
repo
repo
repo
rootUri reporootUri
reporootUri
workspaceFolderPath
_createImplicitRepos
rootUri workspaceFolderPath
kind
isUsingVirtualFileSystem
headBranchName
headCommitHash
headIncomingChanges
headOutgoingChanges
upstreamBranchName
upstreamRemote
isRebasing
remoteFetchUrls
remotes
worktrees
changes
headBranchNameObs
headCommitHashObs
upstreamBranchNameObs
upstreamRemoteObs
isRebasingObs
uri ref1 ref2 Change
_uri _name Branch
uri ref1 ref2 path DiffChange
uri ref1 ref2 path
uri vscodeUri ref Change
uri CommitShortStat
uri ref1 ref2
uri paths
_uri _paths _options staged ref
uri options path commitish branch noTrack
uri path options force label
uri sourceRepositoryUri options confirmation deleteFromSource untracked
uri patch
uri message opts CommitOptions
_uri _name Branch
uri query RefQuery cancellationToken CancellationToken Ref
uri branch Branch
_uri
uri args env Record
_serviceBrand
_workspace SimulationWorkspace
instantiationService IInstantiationService
vscodeTerminal
_onDidChangeTerminalShellIntegration
onDidChangeTerminalShellIntegration vscodeEventvscodeTerminalShellIntegrationChangeEvent _onDidChangeTerminalShellIntegrationevent
_onDidEndTerminalShellExecution
onDidEndTerminalShellExecution EventvscodeTerminalShellExecutionEndEvent _onDidEndTerminalShellExecutionevent
onDidCloseTerminal vscodeEventvscodeTerminal EventNone
onDidWriteTerminalData vscodeEventvscodeTerminalDataWriteEvent EventNone
sessionTerminals
name shellPath shellArgs vscodeTerminal
options vscodeTerminalOptions vscodeTerminal
options vscodeExtensionTerminalOptions vscodeTerminal
nameOrOpts vscodeTerminalOptions vscodeExtensionTerminalOptions shellPath shellArgs vscodeTerminal
options vscodeTerminalOptions vscodeExtensionTerminalOptions nameOrOpts nameOrOpts
name nameOrOpts shellPath shellArgs satisfies vscodeTerminalOptions
nameOrOpts
options
terminal instantiationServiceSimulationTerminal options _workspace
terminalshellIntegration SimulationTerminalShellIntegratione _onDidEndTerminalShellExecutione
_onDidChangeTerminalShellIntegration terminal shellIntegration terminalshellIntegration
terminal
sessionId vscodeUri
terminal vscodeTerminal sessionId id shellIntegrationQuality ShellIntegrationQuality
terms sessionTerminalssessionId
terms
terms terminal shellIntegrationQuality id
sessionTerminalssessionId terminal shellIntegrationQuality id
sessionId IKnownTerminal
sessionTerminalssessionIdt tterminal id tid
sessionId terminal vscodeTerminal shellIntegrationQuality ShellIntegrationQuality
sessionTerminalssessionId
terminal vscodeTerminal vscodeTerminalExecutedCommand
_workspaceterminalBuffer
vscodeTerminalExecutedCommand
_workspaceterminalLastCommand
_workspaceterminalSelection
_workspaceterminalShellType
terminal vscodeTerminal maxChars
pid maxChars
contributor pathLocation description command
contributor
Terminal
NextPID
name
selection
processId SimulationTerminalNextPID
exitStatus vscodeTerminalExitStatus
state vscodeTerminalState
shellIntegration vscodeTerminalShellIntegration
creationOptions vscodeTerminalOptions
workspace SimulationWorkspace
instantiationService IInstantiationService
name creationOptionsname
state isInteractedWith shell
cwd creationOptionscwd workspaceworkspaceFolders
cwd
shellIntegration instantiationServiceSimulationTerminalShellIntegration cwd workspace
text shouldExecute
preserveFocus
TerminalShellIntegration
_onDidEndTerminalShellExecution
onDidEndTerminalShellExecution EventvscodeTerminalShellExecutionEndEvent _onDidEndTerminalShellExecutionevent
cwd vscodeUri
workspace SimulationWorkspace
terminal SimulationTerminal
instantiationService IInstantiationService
cwd cwd workspacecwd
command args vscodeTerminalShellExecution
args
command
exe instantiationServiceSimulationTerminalShellExecution value command confidence TerminalShellExecutionCommandLineConfidenceHigh isTrusted cwd workspace
exe
_onDidEndTerminalShellExecution terminal terminal shellIntegration execution exe exitCode
exe
TerminalShellExecution
_onDidEndTerminalShellExecution
onDidEndTerminalShellExecution Event _onDidEndTerminalShellExecutionevent
commandLine vscodeTerminalShellExecutionCommandLine
cwd vscodeUri
workspace SimulationWorkspace
logService ILogService
fakeWorkspacePath workspaceworkspaceFoldersfsPath
realWorkspacePath workspaceworkspaceworkspaceFoldersfsPath
command commandLinevalue
logService
command commandfakeWorkspacePath realWorkspacePath
logService
execPromise exec
execP command cwd cwdfsPath
result execP
output result resultstdout resultstderr
logService
resultStr
resultStr result result result
e
resultStr
logService
output
logService
output outputrealWorkspacePath fakeWorkspacePath
logService
output
e
msg
estdout
msg estdout
estderr
msg estderr
msg
msg e emessage e
logService
msg msgrealWorkspacePath fakeWorkspacePath
logService
msg
async AsyncIterable
logService
result
logService
result
result
logService
_onDidEndTerminalShellExecution
_serviceBrand
_workspace SimulationWorkspace
query vscodeSymbolInformation
_workspaceworkspaceSymbolss snamequery
uri vscodeUri position vscodePosition vscodeLocation vscodeLocationLink
uri vscodeUri position vscodePosition vscodeLocation vscodeLocationLink
uri vscodeUri position vscodePosition vscodeLocation
uri vscodeUri vscodeDocumentSymbol
uri vscodeUri vscodeDiagnostic