Skip to content

Virtual Tool Grouping Fix

VS Code has an experimental setting (github.copilot.chat.virtualTools.threshold) that collapses extension tools into virtual groups when their count exceeds a threshold. When active, Copilot often fails to discover these groups — making all 39 ABAP FS AI tools invisible and unusable.

ABAP FS detects this condition on startup and prompts you to fix it automatically.

What Happens at Startup

If grouping is active, a warning dialog appears with three options:

Option Effect
Disable Grouping & Reload Sets the threshold to 0 globally and in your workspace, then reloads VS Code
Remind Me Next Time Skips the prompt this session; asks again next time
Don't Ask Again Permanently suppresses the prompt

Choose Disable Grouping & Reload unless you have a specific reason to keep grouping enabled.

Fixing It Manually

If you dismissed the prompt and AI tools are still not working:

  1. Open Settings (Ctrl+,)
  2. Search for virtualTools.threshold
  3. Set github.copilot.chat.virtualTools.threshold to 0
  4. Reload VS Code (Ctrl+Shift+PDeveloper: Reload Window)

Why This Matters

ABAP FS registers 39 specialized tools covering object search, code reading, unit tests, SQL queries, transport management, and more. If Copilot cannot see these tools, all AI-powered features stop working. Setting the threshold to 0 disables grouping entirely and keeps all tools available.

Note: This prompt only appears if the experimental grouping feature is active. Most users will never see it.