keybindingsTestUtils.ts ×3
Frontier kind: Code frontier
unlabeled · c_5e3fd56f568c
58 tests · 4667 LOC · 25 files · introduces 0 tests · 7 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
3 ranges 7 lines · 1 files
Tests
0 tests
Contains — complete concept membership
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
keybindingsTestUtils.ts ×3 — Focused concept
Introduced files:
abstractKeybindingService.test|title=AbstractKeybindingService can trigger command that is sharing keybinding with chord|occurrence=1 — Ancestor (broader)
Introduced tests:
abstractKeybindingService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
abstractKeybindingService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
abstractKeybindingService.test|title=AbstractKeybindingService simple tests: single- and multi-chord keybindings are dispatched a multi-chord keybinding is dispatched correctly|occurrence=1 — Ancestor (broader)
Introduced tests:
abstractKeybindingService.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
abstractKeybindingService.ts ×7 — Ancestor (broader)
Introduced files:
abstractKeybindingService.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
abstractKeybindingService.ts ×2 — Ancestor (broader)
Introduced files:
null command ID|occurrence=1 — Ancestor (broader)
Introduced tests:
abstractKeybindingService.test|title=AbstractKeybindingService can have spying command|occurrence=1 — Ancestor (broader)
Introduced tests:
abstractKeybindingService.ts ×1 — Ancestor (broader)
Introduced files:
abstractKeybindingService.ts ×4 — Ancestor (broader)
Introduced files:
abstractKeybindingService.ts ×5 — Ancestor (broader)
Introduced files:
abstractKeybindingService.test|title=AbstractKeybindingService appendKeybinding appends keybinding for command with context when context matches|occurrence=1, abstractKeybindingService.test|title=AbstractKeybindingService appendKeybinding appends keybinding when context does not match but enforceContextCheck is false|occurrence=1 — Ancestor (broader)
Introduced tests:
abstractKeybindingService.test|title=AbstractKeybindingService appendKeybinding appends keybinding even when label is empty string|occurrence=1, abstractKeybindingService.test|title=AbstractKeybindingService appendKeybinding appends keybinding label when command has a keybinding|occurrence=1 — Ancestor (broader)
Introduced tests:
abstractKeybindingService.ts ×2 — Ancestor (broader)
Introduced files:
abstractKeybindingService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
keybindingResolver.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
abstractKeybindingService.test|title=AbstractKeybindingService appendKeybinding returns only label when commandId is null|occurrence=1, abstractKeybindingService.test|title=AbstractKeybindingService appendKeybinding returns only label when commandId is undefined|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
abstractKeybindingService.ts ×2 — Ancestor (broader)
Introduced files:
abstractKeybindingService.ts ×7 — Ancestor (broader)
Introduced files:
contextkey.ts ×7 — Ancestor (broader)
Introduced files:
Introduced tests:
contextkey.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
keybindingResolver.test|title=KeybindingResolver resolve command resolve command - 12|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver resolve command resolve command - 5|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver resolve command resolve command - 6|occurrence=1, keybindingResolver.test|title=KeybindingResolver resolve command resolve command - 7|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver resolve command resolve command - 2|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver resolve command resolve command - 3|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver resolve command resolve command - 10|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.test|title=KeybindingResolver handle keybinding removals issue #293802: removal still matches when default when clause becomes more specific|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver handle keybinding removals removal with matching keybinding and when|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver handle keybinding removals removal with more specific when clause does not match broader default|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver handle keybinding removals removal with not matching when|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver resolve key|occurrence=1 — Ancestor (broader)
Introduced tests:
contextkey.ts ×2 — Ancestor (broader)
Introduced files:
keybindingResolver.test|title=KeybindingResolver handle keybinding removals removal with unspecified keybinding|occurrence=1 — Ancestor (broader)
Introduced tests:
usLayoutResolvedKeybinding.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
keybindingResolver.test|title=KeybindingResolver resolve command KBs having common prefix - the one defined later is returned|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver handle keybinding removals removal with unspecified when|occurrence=1, keybindingResolver.test|title=KeybindingResolver handle keybinding removals issue #612#issuecomment-222109084 cannot remove keybindings for commands with ^|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
keybindingResolver.test|title=KeybindingResolver handle keybinding removals removal with unspecified when and unspecified keybinding|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver handle keybinding removals issue #140884 Unable to reassign F1 as keybinding for Show All Commands|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver handle keybinding removals issue #160604: Remove keybindings with when clause does not work|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.test|title=KeybindingResolver handle keybinding removals issue #138997 - removal in default list|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.ts ×3 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×2 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×2 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×10 — Ancestor (broader)
Introduced files:
contextkey.ts ×2 — Ancestor (broader)
Introduced files:
keybindingResolver.test|title=KeybindingResolver handle keybinding removals simple 1|occurrence=1, keybindingResolver.test|title=KeybindingResolver handle keybinding removals simple 2|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
keybindingResolver.ts ×2 — Ancestor (broader)
Introduced files:
contextkey.ts ×5 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×2 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×5 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×2 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×2 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×2 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×14 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×5 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×8 — Ancestor (broader)
Introduced files:
contextkey.ts ×2 — Ancestor (broader)
Introduced files:
keybindings.ts ×1 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×2 — Ancestor (broader)
Introduced files:
keybindingResolver.ts ×11 — Ancestor (broader)
Introduced files:
keybindingLabels.test|title=KeybindingLabels Electron Accelerator label|occurrence=1 — Ancestor (broader)
Introduced tests:
usLayoutResolvedKeybinding.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
keybindingLabels.test|title=KeybindingLabels Linux US label|occurrence=1, keybindingLabels.test|title=KeybindingLabels Windows US label|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingLabels.test|title=KeybindingLabels User Settings label|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingLabels.test|title=KeybindingLabels Aria label|occurrence=1 — Ancestor (broader)
Introduced tests:
keybindingLabels.test|title=KeybindingLabels issue #91235: Do not end with a +|occurrence=1 — Ancestor (broader)
Introduced tests:
usLayoutResolvedKeybinding.ts ×1 — Descendant (narrower)
Introduced files:
usLayoutResolvedKeybinding.ts ×5 — Descendant (narrower)
Introduced files:
usLayoutResolvedKeybinding.ts ×1 — Descendant (narrower)
Introduced files:
keybindingsTestUtils.ts ×1 — Descendant (narrower)
Introduced files:
usLayoutResolvedKeybinding.ts ×14 — Descendant (narrower)
Introduced files:
resolvedKeybindingItem.ts ×1 — Descendant (narrower)
Introduced files:
resolvedKeybindingItem.ts ×2 — Descendant (narrower)
Introduced files:
baseResolvedKeybinding.ts ×2 — Descendant (narrower)
Introduced files:
baseResolvedKeybinding.ts ×12 — Descendant (narrower)
Introduced files:
keybindings.ts ×1 — Descendant (narrower)
Introduced files:
keybindings.ts ×3 — Descendant (narrower)
Introduced files:
keybindings.ts ×2 — Descendant (narrower)
Introduced files:
keybindings.ts ×1 — Descendant (narrower)
Introduced files:
keybindings.ts ×1 — Descendant (narrower)
Introduced files:
keybindings.ts ×17 — Descendant (narrower)
Introduced files:
keyCodes.ts ×11 — Descendant (narrower)
Introduced files:
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
utils.ts ×3 — Descendant (narrower)
Introduced files:
nls.ts ×1 — Descendant (narrower)
Introduced files:
nls.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×97 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 7 introduced LOC across 3 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/keybinding/test/common/keybindingsTestUtils.ts 7 introduced LOC · 3 ranges
Open complete file
9
10
export function createUSLayoutResolvedKeybinding ( encodedKeybinding : number | number [], OS : OperatingSystem ) : ResolvedKeybinding | undefined {
12
return undefined ;
13
}
15
>
if ( ! keybinding ) {
16
return undefined ;
17
}
19
>
if ( result . length > 0 ) {
20
>
return result [ 0 ];
21
>
}
22
return undefined ;
23
}