configurationModels.ts ×8

Frontier kind: Joint frontier

unlabeled · c_9265cc940b76

1 test · 17523 LOC · 74 files · introduces 1 test · 32 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
9 ranges32 lines · 2 files
Tests
1 test

Contains — complete concept membership

All code (extent)
3038 ranges17523 lines · 74 files · Browse complete extent
All tests (intent)
1 testBrowse complete intent

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.

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.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

1 test introduced at this concept.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

2 files ranked by introduced lines: 32 introduced LOC across 9 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/platform/configuration/common/configurationModels.ts 25 introduced LOC · 8 ranges

Open complete file

611 private _applicationInspectValue: InspectValue<V> | undefined | null;
612 private get applicationInspectValue(): InspectValue<V> | null {
613 > if (this._applicationInspectValue === undefined) { configurationModels.ts
614 > this._applicationInspectValue = this.applicationConfiguration ? this.applicationConfiguration.inspect<V>(this.key) : null;
615 > }
616 > return this._applicationInspectValue;
617 > }
618
619 get applicationValue(): V | undefined {
620 > return this.applicationInspectValue?.merged; configurationModels.ts
621 > }
622
623 get application(): IInspectValue<V> | undefined {
650
651 get userLocalValue(): V | undefined {
652 > return this.userLocalInspectValue.merged; configurationModels.ts
653 > }
654
655 get userLocal(): IInspectValue<V> | undefined {
666
667 get userRemoteValue(): V | undefined {
668 > return this.userRemoteInspectValue.merged; configurationModels.ts
669 > }
670
671 get userRemote(): IInspectValue<V> | undefined {
675 private _workspaceInspectValue: InspectValue<V> | undefined | null;
676 private get workspaceInspectValue(): InspectValue<V> | null {
677 > if (this._workspaceInspectValue === undefined) { configurationModels.ts
678 > this._workspaceInspectValue = this.workspaceConfiguration ? this.workspaceConfiguration.inspect<V>(this.key, this.overrides.overrideIdentifier) : null;
679 > }
680 > return this._workspaceInspectValue;
681 > }
682
683 get workspaceValue(): V | undefined {
684 > return this.workspaceInspectValue?.merged; configurationModels.ts
685 > }
686
687 get workspace(): IInspectValue<V> | undefined {
691 private _workspaceFolderInspectValue: InspectValue<V> | undefined | null;
692 private get workspaceFolderInspectValue(): InspectValue<V> | null {
693 > if (this._workspaceFolderInspectValue === undefined) { configurationModels.ts
694 > this._workspaceFolderInspectValue = this.folderConfigurationModel ? this.folderConfigurationModel.inspect<V>(this.key, this.overrides.overrideIdentifier) : null;
695 > }
696 > return this._workspaceFolderInspectValue;
697 > }
698
699 get workspaceFolderValue(): V | undefined {
700 > return this.workspaceFolderInspectValue?.merged; configurationModels.ts
701 > }
702
703 get workspaceFolder(): IInspectValue<V> | undefined {
src/vs/platform/configuration/common/configuration.ts 7 introduced LOC · 1 range

Open complete file

131
132 export function isConfigured<T>(configValue: IConfigurationValue<T>): configValue is IConfigurationValue<T> & { value: T } {
133 > return configValue.applicationValue !== undefined || configuration.ts
134 > configValue.userValue !== undefined ||
135 > configValue.userLocalValue !== undefined ||
136 > configValue.userRemoteValue !== undefined ||
137 > configValue.workspaceValue !== undefined ||
138 > configValue.workspaceFolderValue !== undefined;
139 > }
140
141 export interface IConfigurationUpdateOptions {