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 { URI, UriComponents } from '../../../base/common/uri.js';
import { Event, Emitter } from '../../../base/common/event.js';
import { debounce } from '../../../base/common/decorators.js';
import { DisposableMap, DisposableStore, IDisposable, MutableDisposable } from '../../../base/common/lifecycle.js';
import { asPromise } from '../../../base/common/async.js';
import { ExtHostCommands } from './extHostCommands.js';
import { MainContext, MainThreadSCMShape SCMRawResource SCMRawResourceSplice SCMRawResourceSplices IMainContext ExtHostSCMShape ICommandDto MainThreadTelemetryShape SCMGroupFeatures SCMHistoryItemDto SCMHistoryItemChangeDto SCMHistoryItemRefDto SCMActionButtonDto SCMArtifactGroupDto SCMArtifactDto
sortedDiff equals
comparePaths
vscode
ISplice
ILogService
CancellationToken
ExtensionIdentifierMap IExtensionDescription
MarshalledId
ThemeIcon
IMarkdownString
MarkdownString SourceControlInputBoxValidationType
checkProposedApiEnabled isProposedApiEnabled
ExtHostDocuments
Schemas
isLinux
structuralEquals
Iterable
thing thing vscodeUri
thing
a vscodeUri b vscodeUri
ascheme Schemasfile bscheme Schemasfile isLinux
a b
a b
decorations vscodeSourceControlResourceThemableDecorations UriComponents ThemeIcon
decorations
decorationsiconPath
decorationsiconPath
decorationsiconPath
decorationsiconPath
ThemeIcondecorationsiconPath
decorationsiconPath
icon vscodeUri light vscodeUri dark vscodeUri vscodeThemeIcon UriComponents light UriComponents dark UriComponents ThemeIcon
icon
icon
icon
ThemeIconicon
icon
iconDto icon light dark
light iconDtolight dark iconDtodark
historyItem vscodeSourceControlHistoryItem SCMHistoryItemDto
authorIcon historyItemauthorIcon
tooltip historyItemtooltip
MarkdownStringhistoryItemtooltip
historyItemtooltip MarkdownStringhistoryItemtooltip
references historyItemreferencesr
r icon ricon
historyItem authorIcon references tooltip
historyItemRef vscodeSourceControlHistoryItemRef SCMHistoryItemRefDto
historyItemRef historyItemRef icon historyItemReficon
a vscodeSourceControlResourceThemableDecorations b vscodeSourceControlResourceThemableDecorations
aiconPath biconPath
aiconPath
biconPath
aPath aiconPath aiconPath aiconPath aiconPathfsPath aiconPath vscodeThemeIconid
bPath biconPath biconPath biconPath biconPathfsPath biconPath vscodeThemeIconid
aPath bPath
a vscodeSourceControlResourceDecorations b vscodeSourceControlResourceDecorations
result
astrikeThrough bstrikeThrough
astrikeThrough
afaded bfaded
afaded
atooltip btooltip
atooltip btooltip
result a b
result
result
alight blight
result alight blight
alight
blight
result
result
adark bdark
result adark bdark
adark
bdark
result
a vscodeCommand b vscodeCommand
acommand bcommand
acommand bcommand
atitle btitle
atitle btitle
atooltip btooltip
atooltip btooltip
atooltip btooltip
atooltip
btooltip
aarguments barguments
aarguments
barguments
aargumentslength bargumentslength
aargumentslength bargumentslength
i i aargumentslength i
aArg aargumentsi
bArg bargumentsi
aArg bArg
aArg bArg aArg bArg
aArg bArg
a vscodeSourceControlResourceState b vscodeSourceControlResourceState
result aresourceUrifsPath bresourceUrifsPath
result
result
acommand bcommand
result acommand bcommand
acommand
bcommand
result
result
adecorations bdecorations
result adecorations bdecorations
adecorations
bdecorations
result
result
amultiFileDiffEditorModifiedUri bmultiFileDiffEditorModifiedUri
result amultiFileDiffEditorModifiedUrifsPath bmultiFileDiffEditorModifiedUrifsPath
amultiFileDiffEditorModifiedUri
bmultiFileDiffEditorModifiedUri
result
result
amultiDiffEditorOriginalUri bmultiDiffEditorOriginalUri
result amultiDiffEditorOriginalUrifsPath bmultiDiffEditorOriginalUrifsPath
amultiDiffEditorOriginalUri
bmultiDiffEditorOriginalUri
result
a b
i i alength i
ai bi
a vscodeCommand b vscodeCommand
acommand bcommand
atitle btitle
atooltip btooltip
aarguments barguments aarguments barguments aarguments barguments
a vscodeCommand b vscodeCommand
a b commandEquals
value cursorPosition vscodeProviderResultvscodeSourceControlInputBoxValidation
SourceControlInputBox
#proxy MainThreadSCMShape
#extHostDocuments ExtHostDocuments
_value
_value
value
value value
#proxy_sourceControlHandle value
value
_onDidChange
Event
_onDidChangeevent
_placeholder
_placeholder
placeholder
#proxy_sourceControlHandle placeholder
_placeholder placeholder
_validateInput IValidateInput
IValidateInput
_extension
_validateInput
fn IValidateInput
_extension
fn fn
_validateInput fn
#proxy_sourceControlHandle fn
_enabled
_enabled
enabled
enabled enabled
_enabled enabled
_enabled enabled
#proxy_sourceControlHandle enabled
_visible
_visible
visible
visible visible
_visible visible
_visible visible
#proxy_sourceControlHandle visible
vscodeTextDocument
_extension
#extHostDocuments_documentUri
_extension IExtensionDescription _extHostDocuments ExtHostDocuments proxy MainThreadSCMShape _sourceControlHandle _documentUri
#extHostDocuments _extHostDocuments
#proxy proxy
message vscodeMarkdownString type vscodeSourceControlInputBoxValidationType
_extension
#proxy_sourceControlHandle message SourceControlInputBoxValidationTypetype
value
value
value
_value value
_onDidChangevalue
SourceControlResourceGroup
_handlePool
_resourceHandlePool
_resourceStates vscodeSourceControlResourceState
_resourceStatesMap
_resourceStatesCommandsMap
_resourceStatesDisposablesMap
_onDidUpdateResourceStates
onDidUpdateResourceStates _onDidUpdateResourceStatesevent
_disposed
_disposed
_onDidDispose
onDidDispose _onDidDisposeevent
_handlesSnapshot
_resourceSnapshot vscodeSourceControlResourceState
_id
_label
label
_label label
_proxy_sourceControlHandle handle label
_contextValue
_contextValue
contextValue
_contextValue contextValue
_proxy_sourceControlHandle handle features
_hideWhenEmpty
_hideWhenEmpty
hideWhenEmpty
_hideWhenEmpty hideWhenEmpty
_proxy_sourceControlHandle handle features
SCMGroupFeatures
contextValue contextValue
hideWhenEmpty hideWhenEmpty
vscodeSourceControlResourceState _resourceStates
resources vscodeSourceControlResourceState
_resourceStates resources
_onDidUpdateResourceStates
handle ExtHostSourceControlResourceGroup_handlePool
_proxy MainThreadSCMShape
_commands ExtHostCommands
_sourceControlHandle
_id
_label
multiDiffEditorEnableViewChanges
_extension IExtensionDescription
handle vscodeSourceControlResourceState
_resourceStatesMaphandle
handle preserveFocus
command _resourceStatesCommandsMaphandle
command
_commandscommandcommand commandarguments preserveFocus
SCMRawResourceSplice
snapshot _resourceStatescompareResourceStates
diffs _resourceSnapshot snapshot compareResourceStates
splices diffsdiff
toInsert difftoInsertr
handle _resourceHandlePool
_resourceStatesMaphandle r
sourceUri rresourceUri
command ICommandDto
rcommand
rcommandcommand rcommandcommand rcommandcommand
disposables
command _commandsconverterrcommand disposables
_resourceStatesDisposablesMaphandle disposables
_resourceStatesCommandsMaphandle rcommand
hasScmMultiDiffEditorProposalEnabled _extension
multiFileDiffEditorOriginalUri hasScmMultiDiffEditorProposalEnabled rmultiDiffEditorOriginalUri
multiFileDiffEditorModifiedUri hasScmMultiDiffEditorProposalEnabled rmultiFileDiffEditorModifiedUri
icon rdecorations
lightIcon rdecorations rdecorationslight icon
darkIcon rdecorations rdecorationsdark icon
icons SCMRawResource lightIcon darkIcon
tooltip rdecorations rdecorationstooltip
strikeThrough rdecorations rdecorationsstrikeThrough
faded rdecorations rdecorationsfaded
contextValue rcontextValue
rawResource handle sourceUri icons tooltip strikeThrough faded contextValue command multiFileDiffEditorOriginalUri multiFileDiffEditorModifiedUri SCMRawResource
rawResource handle
start diffstart deleteCount diffdeleteCount toInsert
rawResourceSplices splices
start deleteCount toInsert start deleteCount toInserti irawResource SCMRawResourceSplice
reverseSplices splices
start deleteCount toInsert reverseSplices
handles toInserti ihandle
handlesToDelete _handlesSnapshotstart deleteCount handles
handle handlesToDelete
_resourceStatesMaphandle
_resourceStatesCommandsMaphandle
_resourceStatesDisposablesMaphandle
_resourceStatesDisposablesMaphandle
_resourceSnapshot snapshot
rawResourceSplices
_disposed
_onDidDispose
_onDidUpdateResourceStates
_onDidDispose
SourceControl
_handlePool
onDidDisposeParent Event
_onDidDispose
onDidDispose _onDidDisposeevent
#proxy MainThreadSCMShape
_groups MapGroupHandle ExtHostSourceControlResourceGroup
_id
_label
vscodeUri
_rootUri
_contextValue
_extension
_contextValue
contextValue
_extension
_contextValue contextValue
_contextValue contextValue
#proxyhandle contextValue
_inputBox ExtHostSCMInputBox
ExtHostSCMInputBox _inputBox
_count
_count
count
_count count
_count count
#proxyhandle count
_quickDiffProvider vscodeQuickDiffProvider
vscodeQuickDiffProvider
_quickDiffProvider
quickDiffProvider vscodeQuickDiffProvider
_quickDiffProvider quickDiffProvider
quickDiffLabel
_extension
quickDiffLabel quickDiffProviderlabel
#proxyhandle hasQuickDiffProvider quickDiffProvider quickDiffLabel
_secondaryQuickDiffProvider vscodeQuickDiffProvider
vscodeQuickDiffProvider
_extension
_secondaryQuickDiffProvider
secondaryQuickDiffProvider vscodeQuickDiffProvider
_extension
_secondaryQuickDiffProvider secondaryQuickDiffProvider
secondaryQuickDiffLabel secondaryQuickDiffProviderlabel
#proxyhandle hasSecondaryQuickDiffProvider secondaryQuickDiffProvider secondaryQuickDiffLabel
_historyProvider vscodeSourceControlHistoryProvider
_historyProviderDisposable
vscodeSourceControlHistoryProvider
_extension
_historyProvider
historyProvider vscodeSourceControlHistoryProvider
_extension
_historyProvider historyProvider
_historyProviderDisposablevalue
#proxyhandle hasHistoryProvider historyProvider
historyProvider
_historyProviderDisposablevaluehistoryProvider
historyItemRef historyProvidercurrentHistoryItemRef
historyItemRemoteRef historyProvidercurrentHistoryItemRemoteRef
historyItemBaseRef historyProvidercurrentHistoryItemBaseRef
#proxyhandle historyItemRef historyItemRemoteRef historyItemBaseRef
_historyProviderDisposablevaluehistoryProvidere
eaddedlength emodifiedlength eremovedlength
added eaddedref ref icon reficon
modified emodifiedref ref icon reficon
removed eremovedref ref icon reficon
#proxyhandle added modified removed silent esilent
_artifactProvider vscodeSourceControlArtifactProvider
_artifactProviderDisposable
vscodeSourceControlArtifactProvider
_extension
_artifactProvider
artifactProvider vscodeSourceControlArtifactProvider
_extension
_artifactProvider artifactProvider
_artifactProviderDisposablevalue
#proxyhandle hasArtifactProvider artifactProvider
artifactProvider
_artifactProviderDisposablevalueartifactProvidergroups
groupslength
#proxyhandle groups
_commitTemplate
_commitTemplate
commitTemplate
commitTemplate _commitTemplate
_commitTemplate commitTemplate
#proxyhandle commitTemplate
_acceptInputDisposables
_acceptInputCommand vscodeCommand
vscodeCommand
_acceptInputCommand
acceptInputCommand vscodeCommand
_acceptInputDisposablesvalue
_acceptInputCommand acceptInputCommand
internal _commandsconverteracceptInputCommand _acceptInputDisposablesvalue
#proxyhandle acceptInputCommand internal
_actionButtonDisposables
_actionButton vscodeSourceControlActionButton
vscodeSourceControlActionButton
_extension
_actionButton
actionButton vscodeSourceControlActionButton
_extension
_actionButton actionButton
oldActionButtonDisposables _actionButtonDisposables
_actionButtonDisposables
_actionButton actionButton
actionButtonDto actionButton
command
_commandsconverteractionButtoncommand _actionButtonDisposables
shortTitle actionButtoncommandshortTitle
secondaryCommands actionButtonsecondaryCommandscommandGroup
commandGroupcommand _commandsconvertercommand _actionButtonDisposables
enabled actionButtonenabled
satisfies SCMActionButtonDto
#proxyhandle actionButton actionButtonDto
oldActionButtonDisposables
_statusBarDisposables
_statusBarCommands vscodeCommand
vscodeCommand
_statusBarCommands
statusBarCommands vscodeCommand
_statusBarCommands statusBarCommands _statusBarCommands statusBarCommands
oldStatusBarDisposables _statusBarDisposables
_statusBarDisposables
_statusBarCommands statusBarCommands
internal statusBarCommands c _commandsconverterc _statusBarDisposables ICommandDto
#proxyhandle statusBarCommands internal
oldStatusBarDisposables
_selected
_selected
_onDidChangeSelection
onDidChangeSelection _onDidChangeSelectionevent
_artifactCommandsDisposables
handle ExtHostSourceControl_handlePool
_extension IExtensionDescription
_extHostDocuments ExtHostDocuments
proxy MainThreadSCMShape
_commands ExtHostCommands
_id
_label
_rootUri vscodeUri
_iconPath vscodeIconPath
_isHidden
_parent ExtHostSourceControl
#proxy proxy
inputBoxDocumentUri
scheme SchemasvscodeSourceControl
path
query _rootUri
_inputBox _extension _extHostDocuments #proxy handle inputBoxDocumentUri
#proxyhandle _parenthandle _id _label _rootUri _iconPath _isHidden inputBoxDocumentUri
onDidDisposeParent _parent _parentonDidDispose EventNone
createdResourceGroups
updatedResourceGroups
id label options multiDiffEditorEnableViewChanges ExtHostSourceControlResourceGroup
multiDiffEditorEnableViewChanges _extension optionsmultiDiffEditorEnableViewChanges
group #proxy _commands handle id label multiDiffEditorEnableViewChanges _extension
disposable EventgrouponDidDispose createdResourceGroupsgroup
createdResourceGroupsgroup disposable
group
groups SCMGroupFeatures
splices SCMRawResourceSplices
group disposable createdResourceGroups
disposable
updateListener group
updatedResourceGroupsgroup
EventgrouponDidDispose
updatedResourceGroupsgroup
updateListener
_groupsgrouphandle
#proxyhandle grouphandle
groupsgrouphandle groupid grouplabel groupfeatures groupmultiDiffEditorEnableViewChanges
snapshot group
snapshotlength
splicesgrouphandle snapshot
_groupsgrouphandle group
#proxyhandle groups splices
createdResourceGroups
splices SCMRawResourceSplices
updatedResourceGroupsgroup
snapshot group
snapshotlength
splicesgrouphandle snapshot
spliceslength
#proxyhandle splices
updatedResourceGroups
handle GroupHandle ExtHostSourceControlResourceGroup
_groupshandle
selected
_selected selected
_onDidChangeSelectionselected
group token CancellationToken SCMArtifactDto
commandsDisposables
artifacts artifactProvidergroup token
artifactsDto artifactsartifact
artifact
icon artifacticon
command artifactcommand _commandsconverterartifactcommand commandsDisposables
_artifactCommandsDisposablesgroup
_artifactCommandsDisposablesgroup commandsDisposables
artifactsDto
_acceptInputDisposables
_actionButtonDisposables
_statusBarDisposables
_historyProviderDisposable
_artifactProviderDisposable
_artifactCommandsDisposables
_groupsgroup group
#proxyhandle
_onDidChangeSelection
_onDidDispose
_onDidDispose
_proxy MainThreadSCMShape
_telemetry MainThreadTelemetryShape
_sourceControls MapProviderHandle ExtHostSourceControl
_sourceControlsByExtension ExtensionIdentifierMapExtHostSourceControl
_onDidChangeActiveProvider
EventvscodeSourceControl _onDidChangeActiveProviderevent
_selectedSourceControlHandle
mainContext IMainContext
_commands ExtHostCommands
_extHostDocuments ExtHostDocuments
logService ILogService
_proxy mainContextMainContextMainThreadSCM
_telemetry mainContextMainContextMainThreadTelemetry
_commands
arg
arg arg$mid MarshalledIdScmResource
sourceControl _sourceControlsargsourceControlHandle
sourceControl
arg
group sourceControlarggroupHandle
group
arg
grouparghandle
arg arg$mid MarshalledIdScmResourceGroup
sourceControl _sourceControlsargsourceControlHandle
sourceControl
arg
sourceControlarggroupHandle
arg arg$mid MarshalledIdScmProvider
sourceControl _sourceControlsarghandle
sourceControl
arg
sourceControl
arg
extension IExtensionDescription id label rootUri vscodeUri iconPath vscodeIconPath isHidden parent vscodeSourceControl vscodeSourceControl
logService extensionidentifiervalue id label rootUri
extensionId
owner
extensionId classification purpose comment
comment
_telemetry
extensionId extensionidentifiervalue
parentSourceControl parent Iterable_sourceControls s s parent
sourceControl extension _extHostDocuments _proxy _commands id label rootUri iconPath isHidden parentSourceControl
_sourceControlssourceControlhandle sourceControl
sourceControls _sourceControlsByExtensionextensionidentifier
sourceControlssourceControl
_sourceControlsByExtensionextensionidentifier sourceControls
EventsourceControlonDidDispose
logService extensionidentifiervalue id label rootUri
_sourceControlssourceControlhandle
sourceControls _sourceControlsByExtensionextensionidentifier
sourceControls
index sourceControlssourceControl
index
sourceControlsindex
sourceControlslength
_sourceControlsByExtensionextensionidentifier
sourceControl
extension IExtensionDescription ExtHostSCMInputBox
logService extensionidentifiervalue
sourceControls _sourceControlsByExtensionextensionidentifier
sourceControl sourceControls sourceControlssourceControlslength
sourceControl sourceControlinputBox
sourceControlHandle uriComponents UriComponents token CancellationToken UriComponents
uri uriComponents
logService sourceControlHandle uri
sourceControl _sourceControlssourceControlHandle
sourceControl sourceControlquickDiffProvider sourceControlquickDiffProviderprovideOriginalResource
sourceControlquickDiffProviderprovideOriginalResourceuri token
r r
sourceControlHandle uriComponents UriComponents token CancellationToken UriComponents
uri uriComponents
logService sourceControlHandle uri
sourceControl _sourceControlssourceControlHandle
sourceControl sourceControlsecondaryQuickDiffProvider sourceControlsecondaryQuickDiffProviderprovideOriginalResource
sourceControlsecondaryQuickDiffProviderprovideOriginalResourceuri token
r r
sourceControlHandle value
logService sourceControlHandle
sourceControl _sourceControlssourceControlHandle
sourceControl
sourceControlinputBoxvalue
sourceControlHandle groupHandle handle preserveFocus
logService sourceControlHandle groupHandle handle
sourceControl _sourceControlssourceControlHandle
sourceControl
group sourceControlgroupHandle
group
grouphandle preserveFocus
sourceControlHandle value cursorPosition IMarkdownString
logService sourceControlHandle
sourceControl _sourceControlssourceControlHandle
sourceControl
sourceControlinputBoxvalidateInput
sourceControlinputBoxvalidateInputvalue cursorPositionresult
result
message MarkdownStringresultmessage
message
message resulttype
selectedSourceControlHandle
logService selectedSourceControlHandle
_selectedSourceControlHandle selectedSourceControlHandle
selectedSourceControlHandle
_sourceControlsselectedSourceControlHandle
_selectedSourceControlHandle
_sourceControls_selectedSourceControlHandle
_selectedSourceControlHandle selectedSourceControlHandle
sourceControlHandle historyItemId token CancellationToken SCMHistoryItemDto
historyProvider _sourceControlssourceControlHandlehistoryProvider
historyItem historyProviderhistoryItemId token
historyItem historyItem
err
logService err
sourceControlHandle historyItemId token CancellationToken
historyProvider _sourceControlssourceControlHandlehistoryProvider
chatContext historyProviderhistoryItemId token
chatContext
err
logService err
sourceControlHandle historyItemId historyItemParentId path token CancellationToken
historyProvider _sourceControlssourceControlHandlehistoryProvider
chatContext historyProviderresolveHistoryItemChangeRangeChatContexthistoryItemId historyItemParentId path token
chatContext
err
logService err
sourceControlHandle historyItemRefs token CancellationToken
historyProvider _sourceControlssourceControlHandlehistoryProvider
ancestor historyProviderhistoryItemRefs token
ancestor
err
logService err
sourceControlHandle historyItemRefs token CancellationToken SCMHistoryItemRefDto
historyProvider _sourceControlssourceControlHandlehistoryProvider
refs historyProviderhistoryItemRefs token
refsref ref icon reficon
err
logService err
sourceControlHandle options vscodeSourceControlHistoryOptions token CancellationToken SCMHistoryItemDto
historyProvider _sourceControlssourceControlHandlehistoryProvider
historyItems historyProvideroptions token
historyItemsitem item
err
logService err
sourceControlHandle historyItemId historyItemParentId token CancellationToken SCMHistoryItemChangeDto
historyProvider _sourceControlssourceControlHandlehistoryProvider
changes historyProviderhistoryItemId historyItemParentId token
changes
err
logService err
sourceControlHandle token CancellationToken SCMArtifactGroupDto
artifactProvider _sourceControlssourceControlHandleartifactProvider
groups artifactProvidertoken
groupsgroup
group
icon groupicon
err
logService err
sourceControlHandle group token CancellationToken SCMArtifactDto
sourceControl _sourceControlssourceControlHandle
sourceControlgroup token
err
logService err