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 { ContextKeyExprType, ContextKeyExpression, IContext, IContextKeyService, expressionsAreEqualWithConstantSubstitution, implies } from 'vs/platform/contextkey/common/contextkey';
import { ResolvedKeybindingItem } from 'vs/platform/keybinding/common/resolvedKeybindingItem';
//#region resolution-result
export const enum ResultKind {
/** No keybinding found this sequence of chords */
NoMatchingKb,
/** There're several keybindings that have the given sequence of chords as a prefix */
MoreChordsNeeded,
/** A single keybinding found to be dispatched/invoked */
KbFound
}
export type ResolutionResult =
| { kind: ResultKind.NoMatchingKb }
| { kind: ResultKindMoreChordsNeeded
kind ResultKindKbFound commandId commandArgs isBubble
NoMatchingKb ResolutionResult kind ResultKindNoMatchingKb
MoreChordsNeeded ResolutionResult kind ResultKindMoreChordsNeeded
commandId commandArgs isBubble ResolutionResult
kind ResultKindKbFound commandId commandArgs isBubble
str
_defaultKeybindings ResolvedKeybindingItem
_keybindings ResolvedKeybindingItem
_defaultBoundCommands Map
_map Map ResolvedKeybindingItem
_lookupMap Map ResolvedKeybindingItem
defaultKeybindings ResolvedKeybindingItem
overrides ResolvedKeybindingItem
str
_log log
_defaultKeybindings defaultKeybindings
_defaultBoundCommands
defaultKeybinding defaultKeybindings
command defaultKeybindingcommand
command command
_defaultBoundCommandscommand
_map
_lookupMap
_keybindings KeybindingResolver ResolvedKeybindingItemdefaultKeybindingsoverrides
i len _keybindingslength i len i
k _keybindingsi
kchordslength
when kwhen
when whentype ContextKeyExprTypeFalse
kchords k
defaultKb ResolvedKeybindingItem keypress when ContextKeyExpression
keypress
i i keypresslength i
keypressi defaultKbchordsi
when whentype ContextKeyExprTypeTrue
defaultKbwhen
when defaultKbwhen
rules ResolvedKeybindingItem ResolvedKeybindingItem
removals
i len ruleslength i len i
rule rulesi
rulecommand rulecommand
command rulecommand
removalscommand
removalscommand rule
removalscommandrule
removalssize
rules
result ResolvedKeybindingItem
i len ruleslength i len i
rule rulesi
rulecommand rulecommandlength
resultrule
rulecommand
commandRemovals removalsrulecommand
commandRemovals ruleisDefault
resultrule
isRemoved
commandRemoval commandRemovals
when commandRemovalwhen
rule commandRemovalchords when
isRemoved
isRemoved
resultrule
result
keypress item ResolvedKeybindingItem
conflicts _mapkeypress
conflicts
_mapkeypress item
item
i conflictslength i i
conflict conflictsi
conflictcommand itemcommand
isShorterKbPrefix
i i conflictchordslength i itemchordslength i
conflictchordsi itemchordsi
isShorterKbPrefix
isShorterKbPrefix
KeybindingResolverconflictwhen itemwhen
conflict
conflictsitem
item
item ResolvedKeybindingItem
itemcommand
arr _lookupMapitemcommand
arr
arr item
_lookupMapitemcommand arr
arritem
item ResolvedKeybindingItem
itemcommand
arr _lookupMapitemcommand
arr
i len arrlength i len i
arri item
arri
a ContextKeyExpression b ContextKeyExpression
b btype ContextKeyExprTypeTrue
a atype ContextKeyExprTypeTrue
a b
Map
_defaultBoundCommands
ResolvedKeybindingItem
_defaultKeybindings
ResolvedKeybindingItem
_keybindings
commandId ResolvedKeybindingItem
items _lookupMapcommandId
items itemslength
result ResolvedKeybindingItem
resultLen
i itemslength i i
resultresultLen itemsi
result
commandId context IContextKeyService ResolvedKeybindingItem
items _lookupMapcommandId
items itemslength
itemslength
items
i itemslength i i
item itemsi
contextitemwhen
item
itemsitemslength
context IContext currentChords keypress ResolutionResult
pressedChords currentChords keypress
kbCandidates _mappressedChords
kbCandidates
NoMatchingKb
lookupMap ResolvedKeybindingItem
pressedChordslength
lookupMap kbCandidates
lookupMap
i len kbCandidateslength i len i
candidate kbCandidatesi
pressedChordslength candidatechordslength
prefixMatches
i i pressedChordslength i
candidatechordsi pressedChordsi
prefixMatches
prefixMatches
lookupMapcandidate
result context lookupMap
result
NoMatchingKb
pressedChordslength resultchordslength
MoreChordsNeeded
resultcommand resultcommandArgs resultbubble
context IContext matches ResolvedKeybindingItem ResolvedKeybindingItem
i matcheslength i i
k matchesi
KeybindingResolvercontext kwhen
k
context IContext rules ContextKeyExpression
rules
rulescontext
when ContextKeyExpression
when
kb ResolvedKeybindingItem
kbextensionId
kbisBuiltinExtension
kbisDefault