Closed
Description
Feature Request: Expose vscode.InlineChat
API
Problem
The current inline chat experience (e.g., GitHub Copilot's Ctrl+I feature) is extremely powerful for contextual code assistance.
However, extension developers do not have access to any vscode.InlineChat
API or similar mechanism to create such UX. We can only rely on WebviewPanel
, InputBox
, or floating notifications — none of which behave as inline chat in the editor.
Expected Behavior
Expose a stable or experimental version of the InlineChat
API to allow extension developers to:
- Show an inline input box in the editor at cursor position
- Render assistant replies inline
- Apply changes or suggestions contextually
Use Cases
- Custom Copilot-like AI chat
- Context-aware refactoring tools
- Inline code review suggestions
Notes
I understand this is used internally in GitHub Copilot and VSCode testing tools. Making it public would open many innovative use cases.
Thanks!