src/vs/platform/commands/test/common/nullCommandService.ts
16 LOC · 14 covered · 2 uncovered · 2 ranges · 10 concepts · 1 introducers · 6 tests
File neighbourhood
The centred file is linked to every concept that introduces one of its ranges, every test that runs code from the file, and the gray connector concepts standing between those tests and the file's own introducer concepts. Undirected links join concepts to every file where they introduce source and concepts to the tests they introduce; arrows show specialization between the displayed concepts and bridge only concepts omitted from this view. Concept colors match the source ranges below; connector concepts have no source color and are shown in gray.
Focused file, its introducer and connector concepts, their introduced files, and tests that run code from the file
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 related-file, concept, and source links on this page.
Focused file, its introducer and connector concepts, their introduced files, and tests that run code from the file src/vs/platform/actions/common/menuService.ts · 501 LOC common/menuService.ts src/vs/platform/keybinding/test/common/mockKeybindingService.ts · 178 LOC common/mockKeybindingSer… menuService.test|title=MenuService in group sorting, by title and order|occurrence=1 · 0 introduced LOC menuService.test|title=M… menuService.ts ×2 · 7 introduced LOC menuService.ts ×2 menuService.ts ×1 · 1 introduced LOC menuService.ts ×1 menuService.ts ×2 · 19 introduced LOC menuService.ts ×2 menuService.ts ×2 · 4 introduced LOC menuService.ts ×2 menuService.ts ×29 · 223 introduced LOC menuService.ts ×29 actions.ts ×4 · 27 introduced LOC actions.ts ×4 actions.ts ×7 · 32 introduced LOC actions.ts ×7 actions.ts ×2 · 4 introduced LOC actions.ts ×2 menuService.ts ×32 · 156 introduced LOC menuService.ts ×32 menuService.test|title=MenuService Extension contributed submenus missing with errors in output #155030|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/actions/test/common/menuService.test|title=MenuService Extension contributed submenus missing with errors in output #155030|occurrence=1 menuService.test|title=M… menuService.test|title=MenuService group sorting|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/actions/test/common/menuService.test|title=MenuService group sorting|occurrence=1 menuService.test|title=M… menuService.test|title=MenuService in group sorting, by title and order|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/actions/test/common/menuService.test|title=MenuService in group sorting, by title and order|occurrence=1 menuService.test|title=M… menuService.test|title=MenuService in group sorting, by title|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/actions/test/common/menuService.test|title=MenuService in group sorting, by title|occurrence=1 menuService.test|title=M… menuService.test|title=MenuService in group sorting, special: navigation|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/actions/test/common/menuService.test|title=MenuService in group sorting, special: navigation|occurrence=1 menuService.test|title=M… menuService.test|title=MenuService special MenuId palette|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/actions/test/common/menuService.test|title=MenuService special MenuId palette|occurrence=1 menuService.test|title=M… Focused file · src/vs/platform/commands/test/common/nullCommandService.ts · 16 LOC common/nullCommandServic…
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the related-file, concept, and source links on this page while the interactive map is unavailable.
JavaScript is disabled; use the related-file, concept, and source links on this page to explore the same evidence.
Files sharing a concept 2
A concept that introduces code in this file also introduces code in these files.
Files with a broader (ancestor) concept 2
These files introduce code for a direct ancestor — a broader, larger-extent concept — of a concept that introduces code here.
Files with a narrower (descendant) concept 6
These files introduce code for a direct descendant — a narrower, larger-intent concept — of a concept that introduces code here.
1
>
/*---------------------------------------------------------------------------------------------
menuService.ts ×32
2
>
* Copyright (c) Microsoft Corporation. All rights reserved.
3
>
* Licensed under the MIT License. See License.txt in the project root for license information.
4
>
*--------------------------------------------------------------------------------------------*/
5
>
6
>
import { Disposable } from '../../../../base/common/lifecycle.js' ;
7
>
import { ICommandService } from '../../common/commands.js' ;
8
>
9
>
export const NullCommandService : ICommandService = {
10
>
_serviceBrand : undefined ,
11
>
onWillExecuteCommand : () => Disposable . None ,
12
>
onDidExecuteCommand : () => Disposable . None ,
13
>
executeCommand() {
14
return Promise . resolve ( undefined );
15
}