Skip to content

Request to expose vscode.InlineChat API to extension developers #249912

Closed
@samii32

Description

@samii32

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!

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)apiinline-chat

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions