aws / aws/aws-toolkit-vscode

Trust commands to be executed without manually clicking on RUN

Open
#8,808 0 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem

Currently, the Amazon Q extension for VS Code requires manual user confirmation (e.g., clicking "Run") for every suggested terminal command. This introduces workflow friction and degrades the speed advantage of using an AI assistant for terminal operations. For power users, repetitive tasks, or workflows within isolated and trusted local environments, this mandatory safety check becomes a bottleneck. There is no mechanism to opt out of this manual execution prompt within the IDE.

## Solution

Introduce a configurable setting in the Amazon Q VS Code extension to bypass the manual command execution requirement.

Configuration Toggle: Add a setting in the VS Code UI and settings.json (e.g., amazonQ.terminal.autoExecuteCommands) to enable or disable automatic command execution.

Immediate Execution: When enabled, commands generated and suggested by the Amazon Q Agent must automatically execute in the VS Code integrated terminal without requiring a secondary click or keystroke.

Granularity (Optional): Provide scope settings, allowing users to enable auto-execution globally, strictly within specific trusted workspaces, or exclusively for non-destructive, read-only commands (e.g., grep, ls, cat).

Contributor guide

Open the contributing guide

Research direction

Start by locating the Amazon Q Agent terminal-command execution flow and the VS Code settings.json/UI registration mentioned in the issue. Trace where the manual "Run" confirmation is handled, then define the supported scope and safety behavior for the new toggle. Done means the setting is exposed and enabled commands execute automatically in the integrated terminal with the agreed scope and coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.