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 assert from 'assert';
import { Codicon } from '../../../../../base/common/codicons.js';
import { constObservable } from '../../../../../base/common/observable.js';
import { ThemeIcon } from '../../../../../base/common/themables.js';
import { mock } from '../../../../../base/test/common/mock.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from '../../../../../base/test/common/utils.js';
import { isIMenuItem, MenuId, MenuRegistry } from '../../../../../platform/actions/common/actions.js';
import { isICommandActionToggleInfo
CommandsRegistry ICommandService
Context
ContextKeyExpression
TestInstantiationService
EditorContextKeys
SessionsDiffRenderSideBySideContext
ActiveEditorContext AuxiliaryBarVisibleContext IsAuxiliaryWindowContext IsSessionsWindowContext IsTopRightEditorGroupContext MainEditorAreaVisibleContext TextCompareEditorActiveContext
ChatPetAchievementId ChatPetAchievementIds
IChatPetService
IViewsService
Menus
IAgentWorkbenchLayoutService
ISessionsService
IActiveSession
ChangesContextKeys ChangesViewMode
CustomViewVisibleContext IsPhoneLayoutContext SessionHasChangesContext SessionHasWorkspaceContext SessionIsCreatedContext SinglePaneDiffEditorInputActiveContext SinglePaneLayoutEnabledContext
SessionChangesEditor
unlockChatPetCreatePullRequestAchievement
SessionsChangesAccessibilityHelp
changesViewWhen ContextKeyExpression
changesViewWhen
assertchangesViewWhen
context
contextIsPhoneLayoutContextkey
contextSessionHasWorkspaceContextkey
contextSessionIsCreatedContextkey
whileNew changesViewWhencontext
contextSessionIsCreatedContextkey
assert
whileNew
afterCreation changesViewWhencontext
whileNew
afterCreation
activeSession
calls commandId args
instantiationService
instantiationServiceICommandService
override commandId args
calls commandId args
instantiationServiceISessionsService
override activeSession activeSession
instantiationServiceaccessor CommandsRegistryaccessor
assertcalls
commandId
args activeSession
attemptedUnlocks ChatPetAchievementId
chatPetService
override id ChatPetAchievementId
attemptedUnlocksid
results
actionId actionId chatPetService
assert results attemptedUnlocks
results
attemptedUnlocks ChatPetAchievementIdsCreatePullRequest
items MenuRegistryMenusSessionsEditorHeaderPrimary
isIMenuItem
item itemcommandid itemcommandid
assertitemsitem
when itemwhen
id itemcommandid
hasActiveEditorGate whenActiveEditorContextkey whenSessionChangesEditor
hasSinglePaneConfigGate whenSinglePaneLayoutEnabledContextkey
id
hasActiveEditorGate
hasSinglePaneConfigGate
id
hasActiveEditorGate
hasSinglePaneConfigGate
item MenuRegistryMenusSessionsEditorTitle
isIMenuItem
item itemcommandid
assertitem
when itemwhen
assert
group itemgroup
order itemorder
icon ThemeIconitemcommandicon itemcommandiconid
hasSessionsWindowGate whenIsSessionsWindowContextkey
hasActiveEditorGate whenActiveEditorContextkey whenSessionChangesEditor
hasSinglePaneConfigGate whenSinglePaneLayoutEnabledContextkey
hasEditorAreaVisibleGate whenMainEditorAreaVisibleContextkey
group
order
icon CodiconcollapseAllid
hasSessionsWindowGate
hasActiveEditorGate
hasSinglePaneConfigGate
hasEditorAreaVisibleGate
item MenuRegistryMenusSessionsEditorTitle
isIMenuItem
item itemcommandid
assertitem
when itemwhen
assert
group itemgroup
order itemorder
icon ThemeIconitemcommandicon itemcommandiconid
hasSessionsWindowGate whenIsSessionsWindowContextkey
hasActiveEditorGate whenActiveEditorContextkey whenSessionChangesEditor
hasSinglePaneConfigGate whenSinglePaneLayoutEnabledContextkey
hasEditorAreaVisibleGate whenMainEditorAreaVisibleContextkey
hasAllCollapsedGate whenEditorContextKeysmultiDiffEditorAllCollapsedkey
group
order
icon CodiconexpandAllid
hasSessionsWindowGate
hasActiveEditorGate
hasSinglePaneConfigGate
hasEditorAreaVisibleGate
hasAllCollapsedGate
item MenuRegistryMenusSessionsEditorTitle
isIMenuItem
item itemcommandid
assertitem
when itemwhen
toggled itemcommandtoggled
toggledCondition toggled toggledcondition toggled
nonTextDiffContext
nonTextDiffContextIsSessionsWindowContextkey
nonTextDiffContextSinglePaneDiffEditorInputActiveContextkey
nonTextDiffContextSinglePaneLayoutEnabledContextkey
nonTextDiffContextIsAuxiliaryWindowContextkey
nonTextDiffContextIsTopRightEditorGroupContextkey
nonTextDiffContextMainEditorAreaVisibleContextkey
toggleContext
toggleContextSessionsDiffRenderSideBySideContextkey
toggledWhenSideBySide toggledConditiontoggleContext
toggleContextSessionsDiffRenderSideBySideContextkey
assert
id itemcommandid
title itemcommandtitle itemcommandtitle itemcommandtitlevalue
group itemgroup
order itemorder
icon ThemeIconitemcommandicon itemcommandiconid
tooltip itemcommandtooltip itemcommandtooltip itemcommandtooltipvalue
hasStateSpecificTitle toggled
toggledWhenSideBySide
toggledWhenInline toggledConditiontoggleContext
hasSessionsWindowGate whenIsSessionsWindowContextkey
hasActiveEditorGate whenActiveEditorContextkey whenSessionChangesEditor
hasTextCompareEditorGate whenTextCompareEditorActiveContextkey
hasSinglePaneConfigGate whenSinglePaneLayoutEnabledContextkey
hasEditorAreaVisibleGate whenMainEditorAreaVisibleContextkey
matchesNonTextDiffContext itemwhennonTextDiffContext
id
title
group
order
icon CodicondiffSidebysideid
tooltip
hasStateSpecificTitle
toggledWhenSideBySide
toggledWhenInline
hasSessionsWindowGate
hasActiveEditorGate
hasTextCompareEditorGate
hasSinglePaneConfigGate
hasEditorAreaVisibleGate
matchesNonTextDiffContext
item MenuRegistryMenuIdCommandPalette
isIMenuItem
item itemcommandid itemcommandcategory itemcommandcategory itemcommandcategory itemcommandcategoryvalue
assertitem
when itemwhen
assert
id itemcommandid
title itemcommandtitle itemcommandtitle itemcommandtitlevalue
category itemcommandcategory itemcommandcategory itemcommandcategoryvalue itemcommandcategory
hasSessionsWindowGate whenIsSessionsWindowContextkey
hasActiveEditorGate whenActiveEditorContextkey whenSessionChangesEditor
hasTextCompareEditorGate whenTextCompareEditorActiveContextkey
hasSinglePaneConfigGate whenSinglePaneLayoutEnabledContextkey
hasEditorAreaVisibleGate whenMainEditorAreaVisibleContextkey
id
title
category
hasSessionsWindowGate
hasActiveEditorGate
hasTextCompareEditorGate
hasSinglePaneConfigGate
hasEditorAreaVisibleGate
singlePane
instantiationService
instantiationServiceIViewsService
instantiationServiceIAgentWorkbenchLayoutService
override isSinglePaneLayoutEnabled singlePane
provider instantiationService
content provider
provider
content
assert
assert
items MenuRegistryMenusSessionsEditorTitle
isIMenuItem
item itemcommandid itemcommandid
actual itemsitem
when itemwhen
context
contextIsSessionsWindowContextkey
contextSinglePaneDiffEditorInputActiveContextkey
contextSinglePaneLayoutEnabledContextkey
contextIsAuxiliaryWindowContextkey
contextIsTopRightEditorGroupContextkey
contextAuxiliaryBarVisibleContextkey
context
ChangesContextKeysViewModekey
itemcommandid ChangesViewModeTree ChangesViewModeList
id itemcommandid
title itemcommandtitle itemcommandtitle itemcommandtitlevalue
group itemgroup
order itemorder
icon ThemeIconitemcommandicon itemcommandiconid
hasSessionsWindowGate whenIsSessionsWindowContextkey
hasActiveEditorGate whenActiveEditorContextkey whenSessionChangesEditor
hasDiffEditorInputGate whenSinglePaneDiffEditorInputActiveContextkey
hasSinglePaneConfigGate whenSinglePaneLayoutEnabledContextkey
hasAuxBarVisibleGate whenAuxiliaryBarVisibleContextkey
hasEditorAreaVisibleGate whenMainEditorAreaVisibleContextkey
hasViewModeGate whenChangesContextKeysViewModekey
matchesSingleFileDiffContext itemwhencontext
a b aidbid
assertactual
id
title
group
order
icon CodiconlistFlatid
hasSessionsWindowGate
hasActiveEditorGate
hasDiffEditorInputGate
hasSinglePaneConfigGate
hasAuxBarVisibleGate
hasEditorAreaVisibleGate
hasViewModeGate
matchesSingleFileDiffContext
id
title
group
order
icon CodiconlistTreeid
hasSessionsWindowGate
hasActiveEditorGate
hasDiffEditorInputGate
hasSinglePaneConfigGate
hasAuxBarVisibleGate
hasEditorAreaVisibleGate
hasViewModeGate
matchesSingleFileDiffContext
item MenuRegistryMenusTitleBarSessionMenu
isIMenuItem
item itemcommandid
editorTitleItem MenuRegistryMenusSessionsEditorTitle
isIMenuItem
item itemcommandid
assertitem
when itemwhen
context
contextIsSessionsWindowContextkey
contextIsAuxiliaryWindowContextkey
contextCustomViewVisibleContextkey
contextSinglePaneLayoutEnabledContextkey
contextSessionIsCreatedContextkey
contextSessionHasChangesContextkey
visibleForSession itemwhencontext
contextCustomViewVisibleContextkey
assert
editorTitleItem
group itemgroup
order itemorder
hasSessionsWindowGate whenIsSessionsWindowContextkey
hasAuxiliaryWindowGate whenIsAuxiliaryWindowContextkey
hasSinglePaneLayoutGate whenSinglePaneLayoutEnabledContextkey
hasCreatedSessionGate whenSessionIsCreatedContextkey
hasChangesGate whenSessionHasChangesContextkey
visibleForSession
visibleForCustomView itemwhencontext
editorTitleItem
group
order
hasSessionsWindowGate
hasAuxiliaryWindowGate
hasSinglePaneLayoutGate
hasCreatedSessionGate
hasChangesGate
visibleForSession
visibleForCustomView