Skip to content

perf: context command performance improvement#541

Merged
Will-ShaoHua merged 2 commits intoaws:mainfrom
Will-ShaoHua:perf-context-command-improvement
Apr 10, 2026
Merged

perf: context command performance improvement#541
Will-ShaoHua merged 2 commits intoaws:mainfrom
Will-ShaoHua:perf-context-command-improvement

Conversation

@Will-ShaoHua
Copy link
Copy Markdown
Contributor

@Will-ShaoHua Will-ShaoHua commented Apr 7, 2026

Issue #, if available:

Description of changes:

Before

eclipse-context-command-slow.mov

After

eclipse-context-command-slow-fixed.mov

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The chat-client's onContextCommandFilter callback sends
filterContextCommands via postMessage/ideCommand, but the Java backend
had no Command enum value or handler for it. The message was silently
dropped, so the @ picker could only search within the initial capped
set of context commands.

Add FILTER_CONTEXT_COMMANDS to Command enum, AmazonQLspServer interface,
action handler routing, and ChatCommunicationManager to forward the
request to the LSP and send the response back to the webview.
@Will-ShaoHua Will-ShaoHua force-pushed the perf-context-command-improvement branch from c008610 to e38fe69 Compare April 7, 2026 21:56
@Will-ShaoHua Will-ShaoHua merged commit 489351b into aws:main Apr 10, 2026
1 check passed
@Will-ShaoHua Will-ShaoHua deleted the perf-context-command-improvement branch April 10, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants