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 { KeyChord, KeyCode, KeyMod } from '../../../../base/common/keyCodes.js';
import { Disposable, DisposableStore, MutableDisposable } from '../../../../base/common/lifecycle.js';
import { Schemas } from '../../../../base/common/network.js';
import { isBoolean, isObject, isString } from '../../../../base/common/types.js';
import { URI } from '../../../../base/common/uri.js';
import { ICodeEditor, isCodeEditor } from '../../../../editor/browser/editorBrowser.js';
import EditorContributionInstantiation registerEditorContribution
Context SuggestContext
nls
Categories
Action2 MenuId MenuRegistry registerAction2
CommandsRegistry ICommandService
ConfigurationTarget
ContextKeyExpr
InputFocusedContext IsMacNativeContext
SyncDescriptor
IInstantiationService ServicesAccessor
KeybindingWeight KeybindingsRegistry
ILabelService
IListService
Registry
IUserDataProfilesService
IWorkspaceContextService IWorkspaceFolder WorkbenchState
EditorPaneDescriptor IEditorPaneRegistry
resolveCommandsContext
RemoteNameContext ResourceContextKey WorkbenchStateContext
IWorkbenchContribution WorkbenchPhase registerWorkbenchContribution2
EditorExtensions IEditorFactoryRegistry IEditorSerializer
EditorInput
IEditorGroup IEditorGroupsService
IEditorService
IWorkbenchEnvironmentService
IExtensionService
KeybindingsEditorInput
IDefineKeybindingEditorContribution IPreferencesService
PreferencesEditorInput SettingsEditor2Input
SettingsEditorModel
IUserDataProfileService
ExplorerFolderContext ExplorerRootContext
PreferencesContribution
KeybindingsEditor
ConfigureLanguageBasedSettingsAction
PreferencesEditor
preferencesOpenSettingsIcon
IPreferencesRenderer UserSettingsRenderer WorkspaceSettingsRenderer
SettingsEditor2 SettingsFocusContext
RegistryEditorExtensionsEditorPane
EditorPaneDescriptor
SettingsEditor2
SettingsEditor2
nls
SettingsEditor2Input
RegistryEditorExtensionsEditorPane
EditorPaneDescriptor
PreferencesEditor
PreferencesEditor
nls
PreferencesEditorInput
editorInput EditorInput
editorInput EditorInput
instantiationService IInstantiationService EditorInput
instantiationServicePreferencesEditorInput
RegistryEditorExtensionsEditorPane
EditorPaneDescriptor
KeybindingsEditor
KeybindingsEditor
nls
KeybindingsEditorInput
editorInput EditorInput
editorInput EditorInput
instantiationService IInstantiationService EditorInput
instantiationServiceKeybindingsEditorInput
editorInput EditorInput
input SettingsEditor2Input
instantiationService IInstantiationService SettingsEditor2Input
instantiationServiceSettingsEditor2Input
RegistryEditorExtensionsEditorFactoryPreferencesEditorInput PreferencesEditorInputSerializer
RegistryEditorExtensionsEditorFactoryKeybindingsEditorInput KeybindingsEditorInputSerializer
RegistryEditorExtensionsEditorFactorySettingsEditor2Input SettingsEditor2InputSerializer
nls
nls
nls
category CategoriesPreferences
openToSide
query
revealSetting
key
edit
focusSearch
arg
arg arg
arg
arg arg
args IOpenSettingsActionOptions
args
args
sanitizedObject IOpenSettingsActionOptions
focusSearch argsfocusSearch
openToSide argsopenToSide
query argsquery
argsrevealSettingkey
sanitizedObject
sanitizedObject
revealSetting
key argsrevealSettingkey
edit argsrevealSettingedit
sanitizedObject
environmentService IWorkbenchEnvironmentService
userDataProfileService IUserDataProfileService
preferencesService IPreferencesService
workspaceContextService IWorkspaceContextService
labelService ILabelService
extensionService IExtensionService
userDataProfilesService IUserDataProfilesService
workspaceContextService
workspaceContextService
Action2
id
title
nls
mnemonicTitle nls key comment
keybinding
weight KeybindingWeightWorkbenchContrib
when
primary KeyModCtrlCmd KeyCodeComma
menu
id MenuIdGlobalActivity
group
order
id MenuIdMenubarPreferencesMenu
group
order
accessor ServicesAccessor args IOpenSettingsActionOptions
opts args query args args
accessorIPreferencesService opts
Action2
id
title nls
category
f1
accessor ServicesAccessor args IOpenSettingsActionOptions
args args
accessorIPreferencesService jsonEditor args
Action2
id
title
metadata
description nls
category
f1
accessor ServicesAccessor args IOpenSettingsActionOptions
args args
accessorIPreferencesService jsonEditor args
that
Action2
id
title
category
menu
id MenuIdCommandPalette
when ContextKeyExprkey thatuserDataProfilesServicedefaultProfileid
accessor ServicesAccessor args IOpenSettingsActionOptions
args args
accessorIPreferencesService jsonEditor args
Action2
id
title nls
category
f1
accessor ServicesAccessor args IOpenSettingsActionOptions
args args
accessorIPreferencesServiceargs
Action2
id
title nls
category
f1
accessor ServicesAccessor
accessorIPreferencesService
Action2
id ConfigureLanguageBasedSettingsAction
title ConfigureLanguageBasedSettingsAction
category
f1
accessor ServicesAccessor
accessorIInstantiationServiceConfigureLanguageBasedSettingsAction ConfigureLanguageBasedSettingsAction ConfigureLanguageBasedSettingsActionvalue
Action2
id
title nls
category
menu
id MenuIdCommandPalette
when WorkbenchStateContext
accessor ServicesAccessor args IOpenSettingsActionOptions
args args query args args
accessorIPreferencesServiceargs
Action2
id
title nls
category
menu
id MenuIdCommandPalette
when WorkbenchStateContext
accessor ServicesAccessor
accessorIPreferencesService jsonEditor query
Action2
id
title nls
category
menu
id MenuIdCommandPalette
when WorkbenchStateContext
accessor ServicesAccessor args IOpenSettingsActionOptions
args args
accessorIPreferencesService jsonEditor args
Action2
id
title nls
category
menu
id MenuIdCommandPalette
when WorkbenchStateContext
accessor ServicesAccessor args IOpenSettingsActionOptions
commandService accessorICommandService
preferencesService accessorIPreferencesService
workspaceFolder commandService
workspaceFolder
args args
preferencesService folderUri workspaceFolderuri args
Action2
id
title nls
category
menu
id MenuIdCommandPalette
when WorkbenchStateContext
accessor ServicesAccessor args IOpenSettingsActionOptions
commandService accessorICommandService
preferencesService accessorIPreferencesService
workspaceFolder commandService
workspaceFolder
args args
preferencesService folderUri workspaceFolderuri jsonEditor args
Action2
id
title nls
category
menu
id MenuIdExplorerContext
group
order
when ContextKeyExprExplorerRootContext ExplorerFolderContext
accessor ServicesAccessor resource
resource
accessorIPreferencesService folderUri resource
commandService accessorICommandService
preferencesService accessorIPreferencesService
workspaceFolder commandService
workspaceFolder
preferencesService folderUri workspaceFolderuri
Action2
id
title nls key comment
menu
id MenuIdMenubarPreferencesMenu
group
order
accessor ServicesAccessor
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPane
accessorIPreferencesService jsonEditor query
Action2
id
precondition
keybinding
primary KeyModCtrlCmd KeyCodeKeyI
weight KeybindingWeightEditorContrib
when
category
f1
title nls
accessor ServicesAccessor
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPane
Action2
id
title nls
accessor ServicesAccessor
accessorIPreferencesService jsonEditor query
Action2
id
title nls key comment
accessor ServicesAccessor
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPane
accessorIPreferencesService jsonEditor query
extensionService
remoteAuthority environmentServiceremoteAuthority
hostLabel labelServiceSchemasvscodeRemote remoteAuthority remoteAuthority
Action2
id
title nls hostLabel
category
menu
id MenuIdCommandPalette
when RemoteNameContext
accessor ServicesAccessor args IOpenSettingsActionOptions
args args
accessorIPreferencesServiceargs
Action2
id
title nls hostLabel
category
menu
id MenuIdCommandPalette
when RemoteNameContext
accessor ServicesAccessor args IOpenSettingsActionOptions
args args
accessorIPreferencesService jsonEditor args
accessor ServicesAccessor SettingsEditor2
activeEditorPane accessorIEditorServiceactiveEditorPane
activeEditorPane
activeEditorPane
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
Action2
id
precondition
keybinding
primary KeyModCtrlCmd KeyCodeKeyF
weight KeybindingWeightEditorContrib
when
category
f1
title nls
accessor ServicesAccessor accessor
Action2
id
precondition
keybinding
primary KeyCodeEscape
weight KeybindingWeightEditorContrib
when
category
f1
title nls
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
Action2
id
precondition ContextKeyExpr SuggestContextVisible
title nls
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
Action2
id
precondition ContextKeyExpr SuggestContextVisible
keybinding
primary KeyCodeDownArrow
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr SuggestContextVisible
title nls
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
Action2
id
precondition ContextKeyExpr SuggestContextVisible
keybinding
primary KeyCodeUpArrow
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr SuggestContextVisible
title nls
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
Action2
id
precondition ContextKeyExpr SuggestContextVisible
keybinding
primary KeyCodeEnter
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr SuggestContextVisible
title nls
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
Action2
id
precondition ContextKeyExpr
keybinding
primary KeyCodeUpArrow
weight KeybindingWeightWorkbenchContrib
when
title nls
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
Action2
id
precondition ContextKeyExpr
keybinding
primary KeyCodeEnter
weight KeybindingWeightWorkbenchContrib
when
title nls
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
preferencesEditor
Action2
id
precondition
f1
keybinding
primary KeyCodeLeftArrow
weight KeybindingWeightWorkbenchContrib
when
category
title nls
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
preferencesEditor
Action2
id
precondition ContextKeyExpr
keybinding
primary KeyCodeEnter
weight KeybindingWeightWorkbenchContrib
title nls
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
activeElement preferencesEditorownerDocumentactiveElement
activeElementclassList
preferencesEditor
Action2
id
precondition
keybinding
primary KeyModShift KeyCode
weight KeybindingWeightWorkbenchContrib
when
f1
category
title nls
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
preferencesEditor
Action2
id
precondition ContextKeyExpr
keybinding
primary KeyCodeEscape
weight KeybindingWeightWorkbenchContrib
when
f1
category
title nls
accessor ServicesAccessor
preferencesEditor accessor
preferencesEditor
preferencesEditorcurrentFocusContext SettingsFocusContextSettingControl
preferencesEditor
preferencesEditorcurrentFocusContext SettingsFocusContextSettingTree
preferencesEditor
preferencesEditorcurrentFocusContext SettingsFocusContextTableOfContents
preferencesEditor
that
category nls
id
Action2
id
title nls
shortTitle nls
category
icon preferencesOpenSettingsIcon
keybinding
when
weight KeybindingWeightWorkbenchContrib
primary KeyModCtrlCmd KeyCodeKeyK KeyModCtrlCmd KeyCodeKeyS
menu
id MenuIdCommandPalette
id MenuIdEditorTitle
when ResourceContextKeyResourcethatuserDataProfileServicecurrentProfilekeybindingsResource
group
order
id MenuIdModalEditorEditorTitle
when ResourceContextKeyResourcethatuserDataProfileServicecurrentProfilekeybindingsResource
group
order
id MenuIdGlobalActivity
group
order
accessor ServicesAccessor args
query args args
groupId accessor argsid
accessorIPreferencesService query groupId
MenuRegistryMenuIdMenubarPreferencesMenu
command
id
title nls
group
order
Action2
id
title nls
category
menu id MenuIdCommandPalette
accessor ServicesAccessor
accessorIPreferencesService
Action2
id
title nls
category
icon preferencesOpenSettingsIcon
menu
id MenuIdCommandPalette
id MenuIdEditorTitle
when ContextKeyExpr
group
id MenuIdModalEditorEditorTitle
when ContextKeyExpr
group
accessor ServicesAccessor args
groupId accessor argsid
accessorIPreferencesService groupId
Action2
id
title nls
menu
id MenuIdEditorTitle
when ContextKeyExpr
group
accessor ServicesAccessor args
group accessor args
editorPane groupactiveEditorPane
editorPane
editorPane
Action2
id
title nls
menu
id MenuIdEditorTitle
when ContextKeyExpr
group
accessor ServicesAccessor args
group accessor args
editorPane groupactiveEditorPane
editorPane
editorPane
Action2
id
title nls
menu
id MenuIdEditorTitle
when ContextKeyExpr
group
accessor ServicesAccessor args
group accessor args
editorPane groupactiveEditorPane
editorPane
editorPane
Action2
id
title nls
keybinding
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary KeyCodeEscape
accessor ServicesAccessor
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPane
Action2
id
title nls
category
menu
id MenuIdCommandPalette
when ContextKeyExpr
accessor ServicesAccessor
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPane
that
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary KeyCodeEnter
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPaneeditorPaneactiveKeybindingEntry
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary KeyModCtrlCmd KeyCodeKeyK KeyModCtrlCmd KeyCodeKeyA
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPaneeditorPaneactiveKeybindingEntry
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary KeyModCtrlCmd KeyCodeKeyK KeyModCtrlCmd KeyCodeKeyE
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane editorPaneactiveKeybindingEntrykeybindingItemkeybinding
editorPaneeditorPaneactiveKeybindingEntry
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr InputFocusedContext
primary KeyCodeDelete
mac
primary KeyModCtrlCmd KeyCodeBackspace
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPaneeditorPaneactiveKeybindingEntry
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPaneeditorPaneactiveKeybindingEntry
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary KeyModCtrlCmd KeyCodeKeyF
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPane
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary KeyModAlt KeyCodeKeyK
mac primary KeyModCtrlCmd KeyModAlt KeyCodeKeyK
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPane
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary KeyModAlt KeyCodeKeyP
mac primary KeyModCtrlCmd KeyModAlt KeyCodeKeyP
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPane
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPaneeditorPaneactiveKeybindingEntry
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary KeyModCtrlCmd KeyCodeKeyC
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPaneeditorPaneactiveKeybindingEntry
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPaneeditorPaneactiveKeybindingEntry
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPaneeditorPaneactiveKeybindingEntry
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr
primary KeyModCtrlCmd KeyCodeDownArrow
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPane
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr SuggestContextVisible
primary KeyCodeEscape
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPaneeditorPaneactiveKeybindingEntry
KeybindingsRegistry
id
weight KeybindingWeightWorkbenchContrib
when ContextKeyExpr SuggestContextVisible
primary KeyCodeEnter
accessor args
editorPane accessorIEditorServiceactiveEditorPane
editorPane
editorPaneeditorPaneactiveKeybindingEntry
profileScopedActionDisposables
profileScopedActionDisposables
profileScopedActionDisposables
when ResourceContextKeyResourcethatuserDataProfileServicecurrentProfilekeybindingsResource
id
title nls
f1
precondition when
keybinding
weight KeybindingWeightWorkbenchContrib
when
primary KeyModCtrlCmd KeyCodeKeyK KeyModCtrlCmd KeyCodeKeyK
menu
id MenuIdEditorContent
when
accessor ServicesAccessor
codeEditor accessorIEditorServiceactiveTextEditorControl
codeEditor
codeEditor
userDataProfileService
commandId
workspaceContextService WorkbenchState CommandsRegistrycommandId
CommandsRegistrycommandId preferencesService jsonEditor
when ContextKeyExprResourceContextKeyResourcepreferencesServiceworkspaceSettingsResource WorkbenchStateContext ContextKeyExpr
MenuRegistryMenuIdEditorTitle
command
id commandId
title
icon preferencesOpenSettingsIcon
when
group
order
MenuRegistryMenuIdModalEditorEditorTitle
command
id commandId
title
icon preferencesOpenSettingsIcon
when
group
order
folder workspaceContextServicefolders
commandId
CommandsRegistrycommandId
CommandsRegistrycommandId accessor ServicesAccessor args
groupId accessor argsid
workspaceContextService WorkbenchState
preferencesService jsonEditor groupId
preferencesService folderUri folderuri jsonEditor groupId
when ContextKeyExprResourceContextKeyResourcepreferencesServicefolderuri ContextKeyExpr
MenuRegistryMenuIdEditorTitle
command
id commandId
title
icon preferencesOpenSettingsIcon
when
group
order
MenuRegistryMenuIdModalEditorEditorTitle
command
id commandId
title
icon preferencesOpenSettingsIcon
when
group
order
userDataProfileService IUserDataProfileService
userDataProfilesService IUserDataProfilesService
registerOpenUserSettingsEditorFromJsonActionDisposables
openUserSettingsEditorWhen ContextKeyExpr
ContextKeyExpr
ResourceContextKeyResourceuserDataProfileServicecurrentProfilesettingsResource
ResourceContextKeyResourceuserDataProfilesServicedefaultProfilesettingsResource
ContextKeyExpr
registerOpenUserSettingsEditorFromJsonActionDisposables
registerOpenUserSettingsEditorFromJsonActionDisposablesvalue Action2
id
title
icon preferencesOpenSettingsIcon
menu
id MenuIdEditorTitle
when openUserSettingsEditorWhen
group
order
id MenuIdModalEditorEditorTitle
when openUserSettingsEditorWhen
group
order
accessor ServicesAccessor args
sanitizedArgs args
groupId accessor argsid
accessorIPreferencesService jsonEditor sanitizedArgs groupId
userDataProfileService
openSettingsJsonWhen ContextKeyExpr
Action2
id
title nls
icon preferencesOpenSettingsIcon
menu
id MenuIdEditorTitle
when openSettingsJsonWhen
group
order
id MenuIdModalEditorEditorTitle
when openSettingsJsonWhen
group
order
accessor ServicesAccessor args
group accessor args
editorPane groupactiveEditorPane
editorPane
editorPane
currentRenderer IPreferencesRenderer
disposables
editor ICodeEditor
instantiationService IInstantiationService
preferencesService IPreferencesService
workspaceContextService IWorkspaceContextService
editore
workspaceContextService
disposables
currentRenderer
model editor
model modeluripath
settingsModel preferencesServicemodeluri
settingsModel editor
disposablessettingsModel
settingsModelconfigurationTarget
ConfigurationTarget
currentRenderer disposablesinstantiationServiceWorkspaceSettingsRenderer editor settingsModel
currentRenderer disposablesinstantiationServiceUserSettingsRenderer editor settingsModel
currentRenderer
accessor ServicesAccessor args IEditorGroup
context args accessorIEditorService accessorIEditorGroupsService accessorIListService
contextgroupedEditorsgroup
PreferencesActionsContribution PreferencesActionsContribution WorkbenchPhaseBlockStartup
PreferencesContribution PreferencesContribution WorkbenchPhaseBlockStartup
SettingsEditorTitleContribution SettingsEditorTitleContribution WorkbenchPhaseAfterRestored
SettingsEditorContribution SettingsEditorContribution EditorContributionInstantiationAfterFirstRender
MenuRegistryMenuIdMenubarFileMenu
title nls key comment
submenu MenuIdMenubarPreferencesMenu
group
order
when IsMacNativeContext