Task Discovery โ€” General Settings

Table of Contents

  1. workspaceTasks.exclude
  2. workspaceTasks.taskDiscovery.fetchDepth
  3. Related

workspaceTasks.exclude

Type: array Default: []

Glob patterns for files and directories to exclude from task discovery. Any file matching one of these patterns is ignored by all task providers. This is useful for excluding large or generated directories that do not contain tasks.

Example:

{
  "workspaceTasks.exclude": [
    "**/node_modules/**",
    "**/dist/**",
    "**/.git/**"
  ]
}

Screenshot - Exclude Patterns

workspaceTasks.taskDiscovery.fetchDepth

Type: number | null Default: null

Controls how deep (in folder levels) the extension will search for tasks below the workspace root. A value of null (the default) means the search is unbounded โ€” the extension scans all subdirectories recursively. A positive integer limits the search to that many levels deep, which can significantly improve performance in large monorepos or complex folder hierarchies.

Value Behaviour
null Full recursive search (no limit)
1 Workspace root only
2 Root + one level of subdirectories
N Root + Nโˆ’1 levels of subdirectories

Example:

{
  "workspaceTasks.taskDiscovery.fetchDepth": 3
}

Screenshot - Fetch Depth



© 2026 Ryan Conrad. All rights reserved.

This site uses Just the Docs, a documentation theme for Jekyll.