type EnablementMap = ReadonlyMap<string, boolean>;
return JSON.stringify([...value]);
}
function mapFromStorage(value: string): EnablementMap {
Frontier kind: Code frontier
unlabeled · c_e45fba7c2c75
7 tests · 42518 LOC · 197 files · introduces 0 tests · 19 LOC · 1 file
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.
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.
Every exact file and test below is linked only from the concept that introduces it.
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/mcp/test/common/mcpRegistry.test|title=Workbench - MCP - Registry Server Label Collision Enablement enabling a colliding server disables others with same label|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/mcp/test/common/mcpRegistry.test|title=Workbench - MCP - Registry Server Label Collision Enablement three-way collision: enabling lowest disables both others|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/mcp/test/common/mcpRegistry.test|title=Workbench - MCP - Registry Duplicate Collection Prevention allows different collection IDs to coexist|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/workbench/contrib/mcp/test/common/mcpRegistry.test|title=Workbench - MCP - Registry registerCollection adds collection to registry|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/lifecycle.test|title=Lifecycle Action bar has broken accessibility #100273|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/lifecycle.test|title=Lifecycle dispose disposable array|occurrence=1Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 19 introduced LOC across 9 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
type EnablementMap = ReadonlyMap<string, boolean>;
return JSON.stringify([...value]);
}
function mapFromStorage(value: string): EnablementMap {
setEnabled(key: string, state: ContributionEnablementState, tx?: ITransaction): void {
}
setEnabledWithWorkspaceKey(profileKey: string, workspaceKey: string | undefined, state: ContributionEnablementState, tx?: ITransaction): void {
case ContributionEnablementState.EnabledProfile: {
// Enabled-profile is the default: remove key from profile state,
// and also remove any workspace override.
break;
}
// Store disabled in profile, remove workspace override.
this._setInMap(this._profileState, profileKey, false, tx);
break;
}
// Workspace override: always store explicitly.
if (workspaceKey === undefined) {
break;
}
// Workspace override: always store explicitly.
if (workspaceKey === undefined) {
private _setInMap(memento: ObservableMemento<EnablementMap>, key: string, value: boolean, tx?: ITransaction): void {
if (current.get(key) === value) {
return;
}
next.set(key, value);
memento.set(next, tx);
}
private _deleteFromMap(memento: ObservableMemento<EnablementMap>, key: string, tx?: ITransaction): void {