Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Auto Allow for Copilot Chat (Experimental)New to Visual Studio Code? Get it now.
Auto Allow for Copilot Chat (Experimental)

Auto Allow for Copilot Chat (Experimental)

doubleD

|
3 installs
| (0) | Free
An ON/OFF switch that repeatedly invokes VS Code's single-tool approval action in the last focused chat.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Auto Allow for Copilot Chat (Experimental)

An ON/OFF switch for repeatedly accepting tool confirmations in VS Code chat. It invokes the existing single-tool Accept action every second while ON. It does not change chat.tools.global.autoApprove or organization-managed settings.

This is an experimental prototype using an internal VS Code command. It cannot promise to approve every prompt or work with every Copilot harness/version.

Use

  1. Install the VSIX using Extensions: Install from VSIX... in the Command Palette.
  2. Open a trusted workspace and focus the Copilot chat you want to use.
  3. Click Auto Allow: OFF in the status bar to turn it ON.
  4. Click again to turn it OFF. The shortcut is Ctrl+Alt+Shift+A (Cmd+Option+Shift+A on macOS).

Commands are also available as Auto Allow: Turn ON, Turn OFF, Toggle ON/OFF, and Show Log.

ON accepts tool actions without examining the command, file, or destination, including potentially destructive actions. There is no folder scope.

What it can and cannot do

  • Uses workbench.action.chat.acceptTool, found in the locally inspected VS Code 1.105.1 implementation. Runtime compatibility is checked before enabling. Presence of the command does not prove it works for every session target.
  • In that implementation, VS Code chooses the first unconfirmed tool invocation in the latest response of the last focused chat widget. Other chats and windows are not automatically enumerated.
  • The command can move keyboard focus back to chat, even when no new tool needs approval. Turn OFF when you want to work in the editor without interruptions.
  • This automates individual tool approval attempts. It does not unlock disabled settings, enable tools that an administrator blocked, or guarantee compatibility with mandatory manual-approval configurations. Validate with the actual managed VS Code/Copilot configuration before relying on it.
  • It does not automatically answer agent questions, grant account access, accept authentication/OS dialogs, or handle arbitrary VS Code modal dialogs.
  • The API provides no success signal. The log records ON/OFF and errors, not a claimed count of approvals. A silent no-op is possible on unsupported chat types.
  • OFF stops future attempts. An already dispatched approval cannot be recalled. Tool actions already approved continue running.
  • Reloading, closing, disabling, or uninstalling the extension stops its timer. It starts OFF after reload and leaves all existing VS Code settings unchanged.

No network requests, telemetry, shell commands, or prompt contents are collected by this extension. Invoking Accept can authorize other tools that perform those actions. GitHub Copilot and its account/license must be available separately. This project is independent of GitHub and Microsoft.

Develop and package

Use Node.js 22 or later for development:

npm install
npm run check
npm test
npm run package
npm run package:verify

package:verify uses unzip on macOS/Linux to inspect the generated archive. The extension itself has no runtime dependencies. Open this folder in VS Code and press F5 to launch an Extension Development Host.

Unit tests verify lifecycle and command dispatch with a mocked VS Code API. They do not verify a live Copilot conversation or an organization's configuration.

Manual verification before release

  1. Start the Extension Development Host. Confirm the indicator starts OFF.
  2. With OFF, ask Copilot for a harmless action that normally requests approval. Confirm the request waits.
  3. Focus that chat and turn ON. Confirm the supported tool request is accepted.
  4. Turn OFF before the next request. Confirm it remains pending.
  5. Turn ON, then reload the window. Confirm the extension starts OFF again.
  6. Repeat with the VS Code version, chat session target, and organization settings you intend to support. Also check the documented focus behavior.

Publish

  1. Create or choose your Visual Studio Marketplace publisher.
  2. The publisher ID in package.json is configured as doubleD. Select that publisher in the dashboard. Add the GitHub repository URL when you have created the repository.
  3. Complete the live manual checks above, then run the checks, tests, and package commands.
  4. Upload the .vsix in your Marketplace publisher dashboard, or configure the official publishing workflow.

No GitHub repository or Marketplace listing has been created by this project.

References

  • VS Code approvals and permissions
  • Enterprise AI settings
  • VS Code command API
  • VS Code UI access restrictions
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft