taskConfiguration.ts ×3

Frontier kind: Code frontier

unlabeled · c_6168631c715d

20 tests · 21194 LOC · 80 files · introduces 0 tests · 35 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges35 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
2443 ranges21194 lines · 80 files · Browse complete extent
All tests (intent)
20 testsBrowse 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.

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.

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

src/vs/workbench/contrib/tasks/common/taskConfiguration.ts 31 introduced LOC · 3 ranges

Open complete file

2152
2153 if ((!result.custom || result.custom.length === 0) && (globals.command && globals.command.name)) {
2154 > const matchers: ProblemMatcher[] = ProblemMatcherConverter.from(fileConfig.problemMatcher, context).value ?? []; taskConfiguration.ts
2155 > const isBackground = fileConfig.isBackground ? !!fileConfig.isBackground : fileConfig.isWatching ? !!fileConfig.isWatching : undefined;
2156 > const name = Tasks.CommandString.value(globals.command.name);
2157 > const task: Tasks.CustomTask = new Tasks.CustomTask(
2158 > context.uuidMap.getUUID(name),
2159 > Object.assign({}, source, 'workspace', { config: { index: -1, element: fileConfig, workspaceFolder: context.workspaceFolder } }) satisfies Tasks.IWorkspaceTaskSource,
2160 > name,
2161 > Tasks.CUSTOMIZED_TASK_TYPE,
2162 > {
2163 > name: undefined,
2164 > runtime: undefined,
2165 > presentation: undefined,
2166 > suppressTaskName: true
2167 > },
2168 > false,
2169 > { reevaluateOnRerun: true },
2170 > {
2171 > name: name,
2172 > identifier: name,
2173 > group: Tasks.TaskGroup.Build,
2174 > isBackground: isBackground,
2175 > problemMatchers: matchers
2176 > }
2177 > );
2178 > const taskGroupKind = GroupKind.from(fileConfig.group);
2179 > if (taskGroupKind !== undefined) {
2180 task.configurationProperties.group = taskGroupKind;
2181 > } else if (fileConfig.group === 'none') { taskConfiguration.ts
2182 task.configurationProperties.group = undefined;
2183 }
2184 > CustomTask.fillGlobals(task, globals); taskConfiguration.ts
2185 > CustomTask.fillDefaults(task, context);
2186 > result.custom = [task];
2187 > }
2188 result.custom = result.custom || [];
2189 result.configured = result.configured || [];
src/vs/workbench/contrib/tasks/common/tasks.ts 4 introduced LOC · 2 ranges

Open complete file

331 export namespace CommandString {
332 export function value(value: CommandString): string {
333 > if (Types.isString(value)) { tasks.ts
334 > return value;
335 > } else {
336 return value.value;
337 }
338 > } tasks.ts
339 }
340