debugger.ts ×3

Frontier kind: Joint frontier

unlabeled · c_2661a0238328

1 test · 14804 LOC · 72 files · introduces 1 test · 27 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
4 ranges27 lines · 2 files
Tests
1 test

Contains — complete concept membership

All code (extent)
1959 ranges14804 lines · 72 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: 27 introduced LOC across 4 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/workbench/contrib/debug/common/debugger.ts 26 introduced LOC · 3 ranges

Open complete file

190
191 getInitialConfigurationContent(initialConfigs?: IConfig[]): Promise<string> {
192 > // at this point we got some configs from the package.json and/or from registered DebugConfigurationProviders debugger.ts
193 > let initialConfigurations = this.debuggerContribution.initialConfigurations || [];
194 > if (initialConfigs) {
195 initialConfigurations = initialConfigurations.concat(initialConfigs);
196 }
197 > debugger.ts
198 > const eol = this.resourcePropertiesService.getEOL(URI.from({ scheme: Schemas.untitled, path: '1' })) === '\r\n' ? '\r\n' : '\n';
199 > const configs = JSON.stringify(initialConfigurations, null, '\t').split('\n').map(line => '\t' + line).join(eol).trim();
200 > const comment1 = nls.localize('launch.config.comment1', "Use IntelliSense to learn about possible attributes.");
201 > const comment2 = nls.localize('launch.config.comment2', "Hover to view descriptions of existing attributes.");
202 > const comment3 = nls.localize('launch.config.comment3', "For more information, visit: {0}", 'https://go.microsoft.com/fwlink/?linkid=830387');
203 >
204 > let content = [
205 > '{',
206 > `\t// ${comment1}`,
207 > `\t// ${comment2}`,
208 > `\t// ${comment3}`,
209 > `\t"version": "0.2.0",`,
210 > `\t"configurations": ${configs}`,
211 > '}'
212 > ].join(eol);
213 >
214 > // fix formatting
215 > const editorConfig = this.configurationService.getValue<any>();
216 > if (editorConfig.editor && editorConfig.editor.insertSpaces) {
217 content = content.replace(new RegExp('\t', 'g'), ' '.repeat(editorConfig.editor.tabSize));
218 }
219 > debugger.ts
220 > return Promise.resolve(content);
221 > }
222
223 getMainExtensionDescriptor(): IExtensionDescription {
src/vs/platform/configuration/test/common/testConfigurationService.ts 1 introduced LOC · 1 range

Open complete file

40 return (configuration[arg1] ?? getConfigurationValue(configuration, arg1)) as T;
41 }
42 > return configuration as T; testConfigurationService.ts
43 }
44