aws / aws/aws-toolkit-vscode

Auto suggestion not working on input, require manual trigger

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

Description

## Problem

Auto code suggestion does not work when input. Only Alt+C will trigger the suggestion popup.

## Expected behavior

Auto code suggestion should be run on typing.

## System details (run `AWS: About` and/or `Amazon Q: About`)

- OS: Windows 11
- Visual Studio Code version: 1.101.2
- Amazon Q version: 1.79.0

Telemetry logs

```
2025-06-26 11:07:57.802 [info] [Info - 11:07:57 AM] [VSCode Telemetry] Emitting codewhisperer_serviceInvocation telemetry: {"codewhispererRequestId":"f818c3ca-4076-40f1-ba79-8e78b0eefcc2","codewhispererSessionId":"9bc4187e-6d61-44d4-b1dc-9c0932db761c","codewhispererLastSuggestionIndex":3,"codewhispererCompletionType":"Block","codewhispererTriggerType":"AutoTrigger","codewhispererAutomatedTriggerType":"Enter","duration":14506,"codewhispererLineNumber":104,"codewhispererCursorOffset":4,"codewhispererLanguage":"python","credentialStartUrl":"https://view.awsapps.com/start","codewhispererSupplementalContextTimeout":false,"codewhispererSupplementalContextIsUtg":false,"codewhispererSupplementalContextLatency":5.3628000020980835,"codewhispererSupplementalContextLength":1197,"result":"Succeeded","codewhispererImportRecommendationEnabled":true}
2025-06-26 11:07:58.657 [info] [Info - 11:07:58 AM] [VSCode Telemetry] Emitting codewhisperer_serviceInvocation telemetry: {"codewhispererRequestId":"76172af5-e32f-48c1-a930-7e5f66d51330","codewhispererSessionId":"3d757358-0e18-4cb9-894d-2bc42d5d96ef","codewhispererLastSuggestionIndex":2,"codewhispererCompletionType":"Block","codewhispererTriggerType":"OnDemand","duration":36523,"codewhispererLineNumber":101,"codewhispererCursorOffset":18,"codewhispererLanguage":"python","credentialStartUrl":"https://view.awsapps.com/start","codewhispererSupplementalContextTimeout":false,"codewhispererSupplementalContextIsUtg":false,"codewhispererSupplementalContextLatency":7.570300042629242,"codewhispererSupplementalContextLength":1142,"result":"Succeeded","codewhispererImportRecommendationEnabled":true}
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in Visual Studio Code 1.101.2 with Amazon Q 1.79.0, comparing typing with the Alt+C manual trigger. Use the supplied telemetry to compare AutoTrigger and OnDemand behavior; done means suggestions appear while typing without requiring Alt+C and the existing telemetry still reports successful requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.